From 9b638f0a1a0c318a778989d439f5474cefd73060 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 17 Jun 2021 11:08:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E4=B8=80=E4=B8=AA=E5=AD=90=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E4=B9=9F=E6=98=BE=E7=A4=BA=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layout/components/Topbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/layout/components/Topbar.vue b/frontend/src/layout/components/Topbar.vue index 2f9fcffbf0..e68f484a9d 100644 --- a/frontend/src/layout/components/Topbar.vue +++ b/frontend/src/layout/components/Topbar.vue @@ -211,7 +211,7 @@ export default { // 设置侧边栏的显示和隐藏 setSidebarHide(route) { // if (!route.children || route.children.length === 1) { - if (!route.children || this.showChildLength(route) === 1) { + if (route.name !== 'system' && (!route.children || this.showChildLength(route) === 1)) { this.$store.dispatch('app/toggleSideBarHide', true) } else { this.$store.dispatch('app/toggleSideBarHide', false)