From 2c082652109729e35ac1ea4ee7e9f4c035d95654 Mon Sep 17 00:00:00 2001 From: pixelmaxQM Date: Tue, 25 Feb 2025 20:43:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=85=8D=E7=BD=AE=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?false=E6=97=A0=E6=B3=95=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pinia/modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pinia/modules/user.js b/web/src/pinia/modules/user.js index 6246ca67..b103ec79 100644 --- a/web/src/pinia/modules/user.js +++ b/web/src/pinia/modules/user.js @@ -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] } })