mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-18 03:12:00 +08:00
feat(主题): 添加默认主题模式配置
在主题配置中添加默认的 mode 字段,明确设置初始主题为亮色模式,避免主题状态未定义时的显示问题
This commit is contained in:
@@ -45,6 +45,8 @@ export const overridesPreferences = defineOverridesPreferences({
|
|||||||
// styleType: 'card',
|
// styleType: 'card',
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
|
/** 默认主题模式 */
|
||||||
|
mode: 'light',
|
||||||
/**
|
/**
|
||||||
* 浅色sidebar
|
* 浅色sidebar
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user