fix: 锁屏重启检查404时重试

This commit is contained in:
TsMask committed 2024-05-31 11:05:03 +08:00
1 parent 22ced8bdb2
commit 467c93f710
1 file changed
+5
+5
View File
@@ -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秒