From 750a09d5b702f8e857f09ccc124565796f601d3f Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 17 十一月 2022 13:50:35 +0800 Subject: [PATCH] 升级组件依赖到最新版本 --- src/components/TopNav/index.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index 4b8f206..f7e2654 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -97,7 +97,9 @@ if (path !== undefined && path.lastIndexOf("/") > 0 && hideList.indexOf(path) === -1) { const tmpPath = path.substring(1, path.length); activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/")); - appStore.toggleSideBarHide(false); + if (!route.meta.link) { + appStore.toggleSideBarHide(false); + } } else if(!route.children) { activePath = path; appStore.toggleSideBarHide(true); -- Gitblit v1.9.3