😎修复userInfos.account恒等于undefined的问题

This commit is contained in:
zuohuaijun 2024-10-14 01:28:54 +08:00
parent f6773f4d0d
commit a79ea48c60

View File

@ -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();