mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-08-10 05:09:57 +08:00
Merge pull request #2 from iczer/master
fix: exception of saving local setting;
This commit is contained in:
commit
8298186e9b
@ -66,7 +66,7 @@ function modifyVars(color) {
|
||||
}
|
||||
|
||||
function loadLocalTheme(localSetting) {
|
||||
if (localSetting) {
|
||||
if (localSetting && localSetting.theme) {
|
||||
let {color, mode} = localSetting.theme
|
||||
color = color || theme.color
|
||||
mode = mode || theme.mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user