src/store/modules/settings.js
@@ -1,9 +1,11 @@ import defaultSettings from '@/settings' import variables from '@/styles/element-variables.scss' const { showSettings, tagsView, fixedHeader, sidebarLogo } = defaultSettings const { showSettings, tagsView, fixedHeader, sidebarLogo, headBackgroundColorValue, menuIsHorizontal } = defaultSettings const state = { headBackgroundColorValue: headBackgroundColorValue, // 头部背景颜色 menuIsHorizontal: menuIsHorizontal, // 菜单是否是横屏 theme: variables.theme, showSettings: showSettings, fixedHeader: fixedHeader,