直接刷新页面重载
This commit is contained in:
parent
f82c1538f5
commit
56c9d2c8f5
@ -105,7 +105,9 @@ export default class ClientList {
|
||||
websocket.onclose = event => {
|
||||
console.log('WebSocket 断线重连...')
|
||||
setTimeout(() => {
|
||||
this.websocket = linkStart()
|
||||
//this.websocket = linkStart()
|
||||
// 调试模式: 直接刷新页面重载
|
||||
window.location.reload()
|
||||
}, 1000)
|
||||
}
|
||||
return websocket
|
||||
|
Loading…
Reference in New Issue
Block a user