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
     },