xiaomei 7 сар өмнө
parent
commit
c4aad68488

+ 4 - 0
src/views/storage/storing.vue

@@ -108,6 +108,8 @@ export default {
             if (res.code == 200) {
               _this.show = false;
               _this.nft_list = [];
+              clearInterval(this.timer);
+              this.timer = null;
               _this.teamine();
               Notify({ type: 'success', message: _this.$t('lang152') });
             } else {
@@ -125,6 +127,8 @@ export default {
       homeApi.collectPledge({}).then(res => {
         if (res.code == 200) {
           this.show = false;
+          clearInterval(this.timer);
+          this.timer = null;
           this.teamine();
           Notify({ type: 'success', message: this.$t('lang152') });
         } else {