领取任务奖励后刷新列表
This commit is contained in:
parent
5cee1d8cde
commit
ff61a47e39
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user