开启TopNav没有子菜单情况隐藏侧边栏

This commit is contained in:
RuoYi
2022-03-06 09:03:44 +08:00
parent 9f944c043f
commit 6130bebbb3
27 changed files with 57 additions and 52 deletions

View File

@ -176,7 +176,7 @@ public class SysMenuServiceImpl implements ISysMenuService
else if (menu.getParentId().intValue() == 0 && isInnerLink(menu))
{
router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon()));
router.setPath("/inner");
router.setPath("/");
List<RouterVo> childrenList = new ArrayList<RouterVo>();
RouterVo children = new RouterVo();
String routerPath = innerLinkReplaceEach(menu.getPath());