mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
fix: 将默认主题设为浅色模式
This commit is contained in:
@@ -27,7 +27,10 @@ export const overridesPreferences = defineOverridesPreferences({
|
|||||||
navigation: {
|
navigation: {
|
||||||
accordion: false, // 关闭手风琴模式,允许多个菜单同时展开
|
accordion: false, // 关闭手风琴模式,允许多个菜单同时展开
|
||||||
},
|
},
|
||||||
// 不要在此写死 theme.mode:用户切换深/浅色需持久化到缓存
|
// 默认浅色;用户切换后仍由缓存持久化,不会被这里覆盖
|
||||||
|
theme: {
|
||||||
|
mode: 'light',
|
||||||
|
},
|
||||||
transition: {
|
transition: {
|
||||||
enable: false,
|
enable: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -36,4 +39,9 @@ export const overridesPreferences = defineOverridesPreferences({
|
|||||||
logo: {
|
logo: {
|
||||||
source: '/cd-logo.png',
|
source: '/cd-logo.png',
|
||||||
},
|
},
|
||||||
|
widget: {
|
||||||
|
languageToggle: false,
|
||||||
|
timezone: false,
|
||||||
|
notification: false,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user