mirror of
https://github.com/yangzongzhuan/RuoYi-Vue3.git
synced 2025-09-27 23:02:41 +00:00
开启TopNav没有子菜单隐藏侧边栏
This commit is contained in:
@@ -141,6 +141,8 @@ function activeRoutes(key) {
|
|||||||
}
|
}
|
||||||
if(routes.length > 0) {
|
if(routes.length > 0) {
|
||||||
permissionStore.setSidebarRouters(routes);
|
permissionStore.setSidebarRouters(routes);
|
||||||
|
} else {
|
||||||
|
appStore.toggleSideBarHide(true);
|
||||||
}
|
}
|
||||||
return routes;
|
return routes;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user