领取任务奖励后刷新列表

This commit is contained in:
yuyongdong 2024-04-29 13:32:37 +08:00
parent 5cee1d8cde
commit ff61a47e39

View File

@ -1156,7 +1156,7 @@ export default {
}, },
// //
async getActivitrStatue(id) { async getActivitrStatue(id) {
await apiCheckActivity(id); // await apiCheckActivity(id);
await this.getProgress(); await this.getProgress();
}, },
async loginTwitter(id) { async loginTwitter(id) {
@ -1220,7 +1220,7 @@ export default {
// , // ,
this.isLoading = false; this.isLoading = false;
// this.$message.error(errmsg) // this.$message.error(errmsg)
this.getActivitrStatue(id); await this.getActivitrStatue(id);
// clearInterval(serTimeId) // clearInterval(serTimeId)
} else if (errcode !== 14) { } else if (errcode !== 14) {
// , // ,
@ -1233,8 +1233,8 @@ export default {
// alert(`, : ${data.score}`) // alert(`, : ${data.score}`)
this.isLoading = false; this.isLoading = false;
this.activityDialog(data); this.activityDialog(data);
this.getActivitrStatue(id); await this.getActivitrStatue(id);
this.getUserState(); // await this.getUserState();
// localStorage.removeItem(storeageKey); // localStorage.removeItem(storeageKey);
// clearInterval(serTimeId); // clearInterval(serTimeId);
} }