+
+
主题风格设置
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
系统布局配置
+
开启 Tags-Views
@@ -36,6 +70,12 @@ export default {
return {}
},
computed: {
+ theme() {
+ return this.$store.state.settings.theme
+ },
+ sideTheme() {
+ return this.$store.state.settings.sideTheme
+ },
fixedHeader: {
get() {
return this.$store.state.settings.fixedHeader
@@ -76,33 +116,82 @@ export default {
key: 'theme',
value: val
})
+ },
+ handleTheme(val) {
+ this.$store.dispatch('settings/changeSetting', {
+ key: 'sideTheme',
+ value: val
+ })
}
}
}
diff --git a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
index 021de8eb4..afe5fcdc2 100644
--- a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
+++ b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
@@ -1,13 +1,13 @@
-