Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
mingchiuli committed Oct 14, 2024
1 parent 9adc821 commit f0a49a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void saveOrUpdate(MenuEntityReq menu) {
@Override
public List<MenuDisplayVo> tree() {
List<MenuEntity> menus = menuRepository.findAllByOrderByOrderNumDesc();
List<MenuDisplayVo> menuEntities = MenuDisplayVoConvertor.convert(menus, false);
List<MenuDisplayVo> menuEntities = MenuDisplayVoConvertor.convert(menus);
return MenuDisplayVoConvertor.buildTreeMenu(menuEntities);
}

Expand Down

0 comments on commit f0a49a7

Please sign in to comment.