!72   避免锁屏后前端token 过期,无法解锁的问题

Merge pull request !72 from lbw/N/A
This commit is contained in:
lbw 2023-09-27 07:23:16 +00:00 committed by Gitee
commit 74ee719390
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -200,6 +200,12 @@ const onLockScreenSubmit = async () => {
} catch (err: any) {
// mes
mes.value = err.msg;
if(err.msg == '用户凭证已过期'){
themeConfig.value.isLockScreen = false;
themeConfig.value.lockScreenTime = 30;
//
setLocalThemeConfig();
}
}
};