mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-11 06:57:12 +08:00
@@ -46,6 +46,12 @@ public class MetaVO implements Serializable {
|
||||
@Schema(description = "菜单图标", example = "user")
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@Schema(description = "排序", example = "1")
|
||||
private Integer order;
|
||||
|
||||
/**
|
||||
* 是否隐藏
|
||||
*/
|
||||
|
@@ -124,6 +124,7 @@ public class LoginServiceImpl implements LoginService {
|
||||
metaVO.setIcon(m.getIcon());
|
||||
metaVO.setIgnoreCache(!m.getIsCache());
|
||||
metaVO.setHideInMenu(m.getIsHidden());
|
||||
metaVO.setOrder(m.getSort());
|
||||
tree.putExtra("meta", metaVO);
|
||||
});
|
||||
return BeanUtil.copyToList(treeList, RouteVO.class);
|
||||
|
Reference in New Issue
Block a user