fix: 超级管理员不显示新增的菜单

之前显示因为系统管理员角色绑定菜单,超级管理员查询的时候无视条件查询的是系统管理员和其他角色绑定的菜单合集
This commit is contained in:
haoxr
2024-12-16 17:06:43 +08:00
parent eb0a96358e
commit fe163b7275
6 changed files with 51 additions and 141 deletions

View File

@@ -42,7 +42,7 @@ public interface MenuService extends IService<Menu> {
/**
* 获取路由列表
*/
List<RouteVO> listRoutes( Set<String> roles);
List<RouteVO> getCurrentUserRoutes();
/**
* 修改菜单显示状态