From 6a5e441155913435687c07088179e4538c898a71 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期六, 04 二月 2023 22:40:20 +0800 Subject: [PATCH] 首页页签右键选择时不显示关闭左侧 --- src/components/TopNav/index.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 @@ } if(routes.length > 0) { permissionStore.setSidebarRouters(routes); + } else { + appStore.toggleSideBarHide(true); } return routes; } -- Gitblit v1.9.3