This commit is contained in:
gtz 2023-05-20 10:25:13 +08:00
parent dad46d2452
commit a1e5fe64e9
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni

Vedi File

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

Vedi File

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