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