fix: exception of saving local setting;

修复:保存配置到本地导致的异常;
master
iczer 4 years ago
parent 6a0ef90d5c
commit aa25af0252
  1. 2
      src/utils/themeUtil.js

@ -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…
Cancel
Save