mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
⚡ 优化. 菜单编辑界面展示树和左侧排序一致
This commit is contained in:
1 parent
9fd17330ed
commit
84d8a179ba
1 file changed
+3
-1
+3
-1
@@ -78,7 +78,9 @@ public class MenuController {
|
||||
*/
|
||||
@GetMapping(value = "/tree")
|
||||
public R getTree() {
|
||||
return new R<>(TreeUtil.buildTree(sysMenuService.list(Wrappers.emptyWrapper()), -1));
|
||||
return new R<>(TreeUtil.buildTree(sysMenuService
|
||||
.list(Wrappers.<SysMenu>lambdaQuery()
|
||||
.orderByAsc(SysMenu::getSort)), -1));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user