loulijun2021
2022-12-31 21232ab15a4b7d17d535434adeb6246269137859
src/store/modules/settings.js
@@ -1,10 +1,20 @@
import defaultSettings from '@/settings'
import variables from '@/styles/element-variables.scss'
const { showSettings, tagsView, fixedHeader, sidebarLogo, headBackgroundColorValue } = defaultSettings
const {
  showSettings,
  tagsView,
  fixedHeader,
  sidebarLogo,
  headBackgroundColorValue,
  menuIsHorizontal,
  leftBackgroundColorValue
} = defaultSettings
const state = {
  leftBackgroundColorValue: leftBackgroundColorValue,//左边背景颜色
  headBackgroundColorValue: headBackgroundColorValue, // 头部背景颜色
  menuIsHorizontal: menuIsHorizontal, // 菜单是否是横屏
  theme: variables.theme,
  showSettings: showSettings,
  fixedHeader: fixedHeader,