fix: 修复个人样式配置情况下false无法生效的问题
This commit is contained in:
@@ -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]
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user