'reload'
This commit is contained in:
parent
67fff7f720
commit
dad46d2452
@ -31,8 +31,7 @@ function handleError(err) {
|
|||||||
function handleClose(data) {
|
function handleClose(data) {
|
||||||
console.log('[x] 服务器关闭连接')
|
console.log('[x] 服务器关闭连接')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const wsc = new WsClient(data);
|
location.reload()
|
||||||
wsc.registerListeners();
|
|
||||||
}, 30000)
|
}, 30000)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user