mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-05-21 05:29:18 +08:00
fix: exception of saving local setting;
修复:保存配置到本地导致的异常;
This commit is contained in:
parent
b35cd4d8c5
commit
34e20a2110
@ -66,7 +66,7 @@ function modifyVars(color) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function loadLocalTheme(localSetting) {
|
function loadLocalTheme(localSetting) {
|
||||||
if (localSetting) {
|
if (localSetting && localSetting.theme) {
|
||||||
let {color, mode} = localSetting.theme
|
let {color, mode} = localSetting.theme
|
||||||
color = color || theme.color
|
color = color || theme.color
|
||||||
mode = mode || theme.mode
|
mode = mode || theme.mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user