From 0c6473bcff72275f79cbc14843937ed8b26c6801 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 04 一月 2023 16:41:03 +0800
Subject: [PATCH] 1.优化列展示功能
---
src/layout/components/Settings/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 0fd4757..3502a32 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -52,7 +52,6 @@
style="width: 120px;"
placeholder="璇烽�夋嫨"
size="mini"
- @change="animationTypeChange"
>
<el-option
v-for="item in animationTypeArr"
@@ -103,6 +102,11 @@
]
}
},
+ mounted() {
+ if (this.$store.state.settings.menuIsHorizontal) {
+ this.sidebar.opened = true
+ }
+ },
computed: {
...mapGetters([
'sidebar'
@@ -148,9 +152,6 @@
key: 'theme',
value: val
})
- },
- animationTypeChange(val) {
- console.log(val, 1)
}
}
}
--
Gitblit v1.9.3