From af6a08398e2bc22f3c8a3a615cbd9e23190be906 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期四, 12 五月 2022 10:55:44 +0800
Subject: [PATCH] update 优化 文件与图片上传组件 使用id存储回显

---
 ruoyi-ui/src/layout/components/Settings/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/layout/components/Settings/index.vue b/ruoyi-ui/src/layout/components/Settings/index.vue
index ffdedb4..f490b99 100644
--- a/ruoyi-ui/src/layout/components/Settings/index.vue
+++ b/ruoyi-ui/src/layout/components/Settings/index.vue
@@ -41,7 +41,7 @@
       <el-divider/>
 
       <h3 class="drawer-title">绯荤粺甯冨眬閰嶇疆</h3>
-      
+
       <div class="drawer-item">
         <span>寮�鍚� TopNav</span>
         <el-switch v-model="topNav" class="drawer-switch" />
@@ -108,6 +108,7 @@
           value: val
         })
         if (!val) {
+          this.$store.dispatch('app/toggleSideBarHide', false);
           this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes);
         }
       }
@@ -162,7 +163,7 @@
       this.sideTheme = val;
     },
     saveSetting() {
-      this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍚�...");
+      this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍊�...");
       this.$cache.local.set(
         "layout-setting",
         `{
@@ -178,7 +179,7 @@
       setTimeout(this.$modal.closeLoading(), 1000)
     },
     resetSetting() {
-      this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍚�...");
+      this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍊�...");
       this.$cache.local.remove("layout-setting")
       setTimeout("window.location.reload()", 1000)
     }

--
Gitblit v1.9.3