修复三级菜单导航异常

This commit is contained in:
vben
2025-12-31 08:08:08 +08:00
parent e999e9f873
commit 25f90f2d19
@@ -59,6 +59,11 @@ public class SysAuthService {
router.setAlwaysShow(true);
router.setRedirect("noRedirect");
router.setChildren(buildMenus(cMenus));
if(menu.getPid()==0L){
router.setComponent("Layout");
}else{
router.setComponent("ParentView");
}
} else if (menu.isMenuFrame()) {
String frameName = StrUtils.upperFirst(menu.getPath()) + menu.getId();
router.setMeta(null);