yuantianjiao před 6 roky
rodič
revize
01406bd4e2

+ 1
- 0
src/pages/system/newOrder/newOrderList/index.vue Zobrazit soubor

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