Kaynağa Gözat

增加stopFn的null判断

zzs 2 ay önce
ebeveyn
işleme
86a656b119

+ 4 - 2
bidding-ui/src/views/mine/tenderOfferDetail.vue

@@ -185,8 +185,10 @@ export default {
         this.recoreEvent = []
       })
     } else {
-      this.stopFn()
-      this.stopFn = null
+      if (this.stopFn) {
+        this.stopFn()
+        this.stopFn = null
+      }
       this.recoreEvent = []
     }