mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
【修复】获取菜单精简信息列表接口没有排除父 ID 非 0 的节点
This commit is contained in:
parent
1c7ba5c0d6
commit
7deaf1cdbf
@ -112,7 +112,6 @@ public class AuthController {
|
||||
// 过滤掉关闭的菜单
|
||||
menuList = menuService.filterClosedMenus(menuList);
|
||||
|
||||
menuList.removeIf(menu -> !CommonStatusEnum.ENABLE.getStatus().equals(menu.getStatus())); // 移除禁用的菜单
|
||||
// 2. 拼接结果返回
|
||||
return success(AuthConvert.INSTANCE.convert(user, roles, menuList));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user