From ff61a47e39e89d082bc8aef2753177ab4aaff74e Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Mon, 29 Apr 2024 13:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=8F=96=E4=BB=BB=E5=8A=A1=E5=A5=96?= =?UTF-8?q?=E5=8A=B1=E5=90=8E=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }