diff --git a/src/components/errorDialog/index.js b/src/components/errorDialog/index.js index 4b9c67b..5035fc5 100644 --- a/src/components/errorDialog/index.js +++ b/src/components/errorDialog/index.js @@ -64,6 +64,10 @@ let errmsg = err errmsg = "Verification failed due to high traffic. Please attempt to verify again or try later" } else if(errmsg.indexOf('already claimed') > -1) { errmsg = "Already received" + } else if(errmsg.indexOf('You have already boosted the chest') > -1 + || errmsg.indexOf('The chest’s boost count has reached the upper limit') > -1 + || errmsg.indexOf('Today’s boost count has been exhausted') > -1) { + // keep the errmsg } else { // 请重试 errmsg = 'An unknown on-chain interaction error has occurred. Our technical team cannot resolve this issue directly. Please use a blockchain explorer to check your wallet address and determine if the transaction was recorded or if another issue exists.' diff --git a/src/views/home/calenView.vue b/src/views/home/calenView.vue index d5f670d..68748fa 100644 --- a/src/views/home/calenView.vue +++ b/src/views/home/calenView.vue @@ -99,12 +99,8 @@ export default { async getCheckinClaimLeak(days) { let res = await apiCheckinClaimLeak(days) let { errcode,errmsg} = res - if(errcode) { - this.$showErr(errmsg) - } else { - this.getCheckInit() - this.$emit('getCheckinLeak') - } + this.getCheckInit() + this.$emit('getCheckinLeak') }, // 签到后更新签到状态 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 896329e..47dd075 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -83,7 +83,7 @@
Invite Your Friends
-
+