diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index 7e60f5a..fc7cf9d 100644 --- a/src/store/modules/settings.js +++ b/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, })