升级组件依赖到最新版本

This commit is contained in:
RuoYi
2022-11-17 13:50:35 +08:00
parent baa3cdffb5
commit 750a09d5b7
13 changed files with 51 additions and 53 deletions

View File

@ -97,7 +97,9 @@ const activeMenu = computed(() => {
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);