From 21232ab15a4b7d17d535434adeb6246269137859 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 14:12:07 +0800
Subject: [PATCH] 1.左菜单背景颜色实现深色与浅色切换
---
src/store/modules/settings.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js
index 622867c..ee727e7 100644
--- a/src/store/modules/settings.js
+++ b/src/store/modules/settings.js
@@ -1,9 +1,18 @@
import defaultSettings from '@/settings'
import variables from '@/styles/element-variables.scss'
-const { showSettings, tagsView, fixedHeader, sidebarLogo, headBackgroundColorValue, menuIsHorizontal } = defaultSettings
+const {
+ showSettings,
+ tagsView,
+ fixedHeader,
+ sidebarLogo,
+ headBackgroundColorValue,
+ menuIsHorizontal,
+ leftBackgroundColorValue
+} = defaultSettings
const state = {
+ leftBackgroundColorValue: leftBackgroundColorValue,//宸﹁竟鑳屾櫙棰滆壊
headBackgroundColorValue: headBackgroundColorValue, // 澶撮儴鑳屾櫙棰滆壊
menuIsHorizontal: menuIsHorizontal, // 鑿滃崟鏄惁鏄í灞�
theme: variables.theme,
--
Gitblit v1.9.3