'remove_reload'
This commit is contained in:
parent
dad46d2452
commit
a1e5fe64e9
@ -37,7 +37,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getRuntime() {
|
||||
const diff = Date.now() - new Date("2023-4-21 10:36:00");
|
||||
const diff = Date.now() - new Date("2023-5-13 10:00:00");
|
||||
const days = parseInt(diff / 1000 / 60 / 60 / 24);
|
||||
const hours = parseInt(
|
||||
(diff - days * 24 * 60 * 60 * 1000) / 1000 / 60 / 60
|
||||
|
@ -31,7 +31,9 @@ function handleError(err) {
|
||||
function handleClose(data) {
|
||||
console.log('[x] 服务器关闭连接')
|
||||
setTimeout(() => {
|
||||
location.reload()
|
||||
// location.reload()
|
||||
const wsc = new WsClient(data);
|
||||
wsc.registerListeners();
|
||||
}, 30000)
|
||||
}
|
||||
|
||||
|
Caricamento…
Fai riferimento in un nuovo problema
Block a user