From c93c13d1cfe288d431109ae1eafd7a9fc6d58746 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 13 六月 2023 10:23:17 +0800
Subject: [PATCH] 1.递交
---
src/layout/components/Settings/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 0fd4757..3272768 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -1,7 +1,7 @@
<template>
<div class="drawer-container">
<div>
- <h3 class="drawer-title">椤圭洰閰嶇疆</h3>
+ <h3 class="drawer-title">绯荤粺閰嶇疆</h3>
<div class="drawer-item">
<span>涓婚棰滆壊</span>
@@ -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