From b16e8cb3f625b40ba176758297ffab016e664603 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 30 三月 2022 10:34:40 +0800
Subject: [PATCH] topNav自定义隐藏侧边栏路由

---
 src/layout/components/Settings/index.vue |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index a8c5132..d74045a 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -102,6 +102,7 @@
       value: val
     })
     if (!val) {
+      store.dispatch('app/toggleSideBarHide', false);
       store.commit("SET_SIDEBAR_ROUTERS", store.state.permission.defaultRoutes);
     }
   }

--
Gitblit v1.9.3