xiaomei 7 月之前
父节点
当前提交
c4aad68488
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/storage/storing.vue

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

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