wangfei 6 年 前
コミット
e66e4920d9
共有1 個のファイルを変更した1 個の追加3 個の削除を含む
  1. 1
    3
      src/pages/system/newOrder/newOrderList/index.vue

+ 1
- 3
src/pages/system/newOrder/newOrderList/index.vue ファイルの表示

@@ -128,7 +128,6 @@ export default {
128 128
     })
129 129
   },
130 130
   beforeRouteLeave (to, from, next) {
131
-    console.log('离开案场')
132 131
     this.wsID = ''
133 132
     this.ws.close()
134 133
     this.updateList([])
@@ -169,12 +168,11 @@ export default {
169 168
       if (!this.businessStatus) {
170 169
         this.ws.close()
171 170
       }
172
-
173 171
       if (this.businessStatus && (this.wsID !== this.CaseId) && this.CaseId) {
174 172
         this.ws.close()
175 173
         this.initWebSocket()
174
+        this.wsID = this.CaseId
176 175
       }
177
-      this.wsID = this.CaseId
178 176
     },
179 177
     refreshList () {
180 178
       this.interval = setInterval(() => {