fix: 修复个人样式配置情况下false无法生效的问题

This commit is contained in:
pixelmaxQM
2025-02-25 20:43:35 +08:00
parent 82e397f136
commit 2c08265210

View File

@@ -28,7 +28,7 @@ export const useUserStore = defineStore('user', () => {
userInfo.value = val
if (val.originSetting) {
Object.keys(appStore.config).forEach((key) => {
if (val.originSetting[key]) {
if (val.originSetting[key] !== undefined) {
appStore.config[key] = val.originSetting[key]
}
})