From 89e93a986e9ef4c4a5ae05979957195255425997 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 17 Nov 2022 14:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AFTopNav=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=AD=90=E8=8F=9C=E5=8D=95=E9=9A=90=E8=97=8F=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TopNav/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index f7e2654..c2d1a74 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -141,6 +141,8 @@ function activeRoutes(key) { } if(routes.length > 0) { permissionStore.setSidebarRouters(routes); + } else { + appStore.toggleSideBarHide(true); } return routes; }