fix: 锁屏重启检查404时重试
This commit is contained in:
@@ -29,6 +29,11 @@ const useLockedStore = defineStore('locked', {
|
|||||||
this.fnLock('none');
|
this.fnLock('none');
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}, 2_000);
|
}, 2_000);
|
||||||
|
} else {
|
||||||
|
// 延迟5秒
|
||||||
|
setTimeout(() => {
|
||||||
|
this.relaodWait();
|
||||||
|
}, 5_000);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// 延迟5秒
|
// 延迟5秒
|
||||||
|
|||||||
Reference in New Issue
Block a user