From 32ee59f763692d9de237207aed9b976cde8a4815 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 27 三月 2022 21:13:43 +0800 Subject: [PATCH] 优化控制台出现的ElOnlyChild错误 --- 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