😎修复userInfos.account恒等于undefined的问题
This commit is contained in:
parent
f6773f4d0d
commit
a79ea48c60
@ -194,7 +194,7 @@ const onLockScreenSubmit = async () => {
|
||||
if (state.lockScreenPassword) {
|
||||
try {
|
||||
// 用户信息不存在时直接解锁(清理缓存后)
|
||||
if (userInfos.account === void 0) {
|
||||
if (userInfos.value.account === void 0) {
|
||||
themeConfig.value.isLockScreen = false;
|
||||
themeConfig.value.lockScreenTime = 300;
|
||||
setLocalThemeConfig();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user