Browse Source

返回菜单排序

tags/24080901
WendyYang 1 year ago
parent
commit
249d2c46e2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/util/TreeUtil.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/util/TreeUtil.java View File

@@ -145,6 +145,7 @@ public final class TreeUtil {
} else {
menus = new ArrayList<>(currMenus);
}
menus.sort(Comparator.comparing(MenuRoleVO::getSort));
ListIterator<MenuRoleVO> currIter = menus.listIterator();
while (currIter.hasNext()) {
MenuRoleVO curr = currIter.next();


Loading…
Cancel
Save