【8.0】【menu】修复获取首页时候菜单顺序不对的问题

pull/57/head
fengshuonan 2023-09-15 16:48:28 +08:00
parent a4264db3c1
commit 844af97872
1 changed files with 3 additions and 0 deletions

View File

@ -296,6 +296,9 @@ public class UserIndexInfoService {
userIndexInfo.setPermissionCodeList(permissionCodeList);
// 将用户菜单进行排序处理
userMenuList.sort(Comparator.comparing(SysMenu::getMenuSort));
return userMenuList;
}