From b31d0bdae5ab5e7c24eadf08fea270c6bb9f3c7a Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 09 二月 2023 16:58:46 +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