From 82a759b4c1dc81b0c78e13af19091c5a5012dd84 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 03 一月 2023 16:50:12 +0800
Subject: [PATCH] 1.优化浅色侧边栏bug
---
src/layout/components/Settings/index.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 0fd4757..6f82418 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -103,6 +103,11 @@
]
}
},
+ mounted() {
+ if (this.$store.state.settings.menuIsHorizontal) {
+ this.sidebar.opened = true
+ }
+ },
computed: {
...mapGetters([
'sidebar'
--
Gitblit v1.9.3