Merge remote-tracking branch 'origin/main' into lichang

This commit is contained in:
TsMask
2024-04-24 15:40:48 +08:00
20 changed files with 790 additions and 63 deletions

View File

@@ -24,8 +24,11 @@ const useLockedStore = defineStore('locked', {
try {
const res = await getSysConf();
if (res.code === RESULT_CODE_SUCCESS && res.data) {
this.fnLock('none');
window.location.reload();
// 延迟5秒
setTimeout(() => {
this.fnLock('none');
window.location.reload();
}, 2_000);
}
} catch (error) {
// 延迟5秒