chuzhixin 4 years ago
parent
commit
6b74da1b4c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/store/modules/settings.js

+ 2 - 2
src/store/modules/settings.js

@@ -12,8 +12,8 @@ const state = () => ({
   tabsBar: theme.tabsBar || tabsBar,
   logo,
   collapse: false,
-  layout: theme.layout || { ...layout },
-  header: theme.header || { ...header },
+  layout: theme.layout || layout,
+  header: theme.header || header,
   device: 'desktop',
   themeBar,
 })