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