Browse Source

增加stopFn的null判断

zzs 2 months ago
parent
commit
86a656b119
1 changed files with 4 additions and 2 deletions
  1. 4 2
      bidding-ui/src/views/mine/tenderOfferDetail.vue

+ 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 = []
     }