hookehuyr

签到完成更新用户统计

......@@ -264,7 +264,14 @@ export default {
if (item.id === id) {
item.status = 'enable';
}
})
});
// 更新用户统计
const { code, data } = await listRegAPI({ activity_id: getCurrentPageParam().id, type: this.member_type, page: this.page, limit: this.limit });
if (code) {
this.reg_count = data.reg_count;
this.volunteer_count = data.volunteer_count;
this.sign_count = data.sign_count;
}
}
})
.catch(() => {
......