From ff3c8bbe4c99274235f593983cbd6c49084cddb8 Mon Sep 17 00:00:00 2001 From: ah-max150 Date: Tue, 22 Sep 2026 17:40:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E9=BB=98=E8=AE=A4=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E8=AE=BE=E4=B8=BA=E6=B5=85=E8=89=B2=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/apps/web-antd/src/preferences.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/web/apps/web-antd/src/preferences.ts b/apps/web/apps/web-antd/src/preferences.ts index d3548737..731f28b4 100644 --- a/apps/web/apps/web-antd/src/preferences.ts +++ b/apps/web/apps/web-antd/src/preferences.ts @@ -27,7 +27,10 @@ export const overridesPreferences = defineOverridesPreferences({ navigation: { accordion: false, // 关闭手风琴模式,允许多个菜单同时展开 }, - // 不要在此写死 theme.mode:用户切换深/浅色需持久化到缓存 + // 默认浅色;用户切换后仍由缓存持久化,不会被这里覆盖 + theme: { + mode: 'light', + }, transition: { enable: false, loading: false, @@ -36,4 +39,9 @@ export const overridesPreferences = defineOverridesPreferences({ logo: { source: '/cd-logo.png', }, + widget: { + languageToggle: false, + timezone: false, + notification: false, + }, }); \ No newline at end of file