feat: update

This commit is contained in:
xiaoxian521 2021-10-29 13:48:37 +08:00
parent 02f2cd9747
commit 71bd7e89d4
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
// 极光绿
$subMenuActiveText: #409eff;
$menuBg: #93f9b9;
$menuBg: #38ef7d;
$menuHover: #e0ebf6;
$subMenuBg: #fff;
$subMenuHover: #e0ebf6;

View File

@ -1,7 +1,7 @@
// 酱紫
$subMenuActiveText: #409eff;
$menuBg: #232526;
$menuBg: #000046;
$menuHover: #e0ebf6;
$subMenuBg: #fff;
$subMenuHover: #e0ebf6;

View File

@ -23,15 +23,15 @@ export const injectResponsiveStorage = (app: App, config: ServerConfigs) => {
locale: {
type: Object,
default: Storage.getData(undefined, "locale") ?? {
locale: config.Locale
locale: config.Locale ?? "zh"
}
},
// layout模式以及主题
layout: {
type: Object,
default: Storage.getData(undefined, "layout") ?? {
layout: config.Layout,
theme: config.Theme
layout: config.Layout ?? "vertical",
theme: config.Theme ?? "default"
}
}
});