yuantianjiao 6 år sedan
förälder
incheckning
28b0ed9e82
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      src/pages/system/newOrder/newOrderList/index.vue

+ 2
- 0
src/pages/system/newOrder/newOrderList/index.vue Visa fil

@@ -143,6 +143,7 @@ export default {
143 143
       console.log(key, this.websockets[key])
144 144
       this.websockets[key].close()
145 145
     })
146
+    this.websockets = {}
146 147
     next()
147 148
   },
148 149
   methods: {
@@ -151,6 +152,7 @@ export default {
151 152
         console.log(key, this.websockets[key])
152 153
         this.websockets[key].close()
153 154
       })
155
+      this.websockets = {}
154 156
       // console.log('init')
155 157
       var param = []
156 158
       if (!this.CaseId) {