yuantianjiao 6 年之前
父節點
當前提交
01406bd4e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/pages/system/newOrder/newOrderList/index.vue

+ 1
- 0
src/pages/system/newOrder/newOrderList/index.vue 查看文件

@@ -313,6 +313,7 @@ export default {
313 313
         this.websockets[wsRealPath].onopen = console.log
314 314
         this.websockets[wsRealPath].onmessage = this.websocketonmessage
315 315
         this.websockets[wsRealPath].onclose = this.reloadWebSocket
316
+        this.websockets[wsRealPath].onerror = this.reloadWebSocket
316 317
         this.websockets[wsRealPath].interval = setInterval(() => this.websockets[wsRealPath].send(10), 120000)
317 318
       }
318 319
     },