mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:09:20 +08:00
fix: 将默认主题设为浅色模式
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user