Commit 0289239f authored by ZWT's avatar ZWT

得到的

parent 7302bbf2
...@@ -133,7 +133,7 @@ public class SysMenuService { ...@@ -133,7 +133,7 @@ public class SysMenuService {
if (CharSequenceUtil.equals(tree.getId(), it.getParentMenuId())) { if (CharSequenceUtil.equals(tree.getId(), it.getParentMenuId())) {
if (CollUtil.isEmpty(tree.getChildren())) { if (CollUtil.isEmpty(tree.getChildren())) {
//初始化集合 //初始化集合
tree.setChildren(new ArrayList<>()); tree.setChildren(new ArrayList<>(12));
} }
tree.getChildren().add(it); tree.getChildren().add(it);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment