feat: 引入antdesignxvue

This commit is contained in:
2026-09-19 00:54:06 +08:00
parent bc73668737
commit ffb9f2ca90
10 changed files with 358 additions and 103 deletions
@@ -77,8 +77,10 @@ public class UserMenuServiceImpl implements UserMenuService {
List<MenuVO> menus;
if (isSuper) {
// 超级管理员获取所有系统菜单,不需要公司上下文
menus = menuService.getAllMenus();
// 超管:全部菜单中仅启用项进入动态路由(与 getMenusForRoute 一致,避免已下线 component 报错)
menus = menuService.getAllMenus().stream()
.filter(menu -> Integer.valueOf(1).equals(menu.getStatus()))
.collect(Collectors.toList());
} else {
// 普通用户,根据公司成员角色判断
Long companyIdForUser = currentUserContext.getCurrentCompanyId();