diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 93d893d..9d1c7fa 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1156,7 +1156,7 @@ export default { }, // 检查任务状态 async getActivitrStatue(id) { - await apiCheckActivity(id); + // await apiCheckActivity(id); await this.getProgress(); }, async loginTwitter(id) { @@ -1220,7 +1220,7 @@ export default { // 已领取, 给个提示就可以了 this.isLoading = false; // this.$message.error(errmsg) - this.getActivitrStatue(id); + await this.getActivitrStatue(id); // clearInterval(serTimeId) } else if (errcode !== 14) { // 状态不是等待链上确认的, 都提示错误 @@ -1233,8 +1233,8 @@ export default { // alert(`领取成功, 获得积分: ${data.score}`) this.isLoading = false; this.activityDialog(data); - this.getActivitrStatue(id); - this.getUserState(); + await this.getActivitrStatue(id); + // await this.getUserState(); // localStorage.removeItem(storeageKey); // clearInterval(serTimeId); }