hookehuyr

签到完成更新用户统计

...@@ -264,7 +264,14 @@ export default { ...@@ -264,7 +264,14 @@ export default {
264 if (item.id === id) { 264 if (item.id === id) {
265 item.status = 'enable'; 265 item.status = 'enable';
266 } 266 }
267 - }) 267 + });
268 + // 更新用户统计
269 + const { code, data } = await listRegAPI({ activity_id: getCurrentPageParam().id, type: this.member_type, page: this.page, limit: this.limit });
270 + if (code) {
271 + this.reg_count = data.reg_count;
272 + this.volunteer_count = data.volunteer_count;
273 + this.sign_count = data.sign_count;
274 + }
268 } 275 }
269 }) 276 })
270 .catch(() => { 277 .catch(() => {
......