✨Treeselect树结构新增字段
This commit is contained in:
parent
ba693d1e78
commit
dc38e97296
@ -1,7 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
namespace ZR.Model.System.Vo
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Vo
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Treeselect树结构实体类
|
/// Treeselect树结构实体类
|
||||||
@ -16,6 +13,8 @@ namespace ZR.Model.System.Vo
|
|||||||
/// 节点名称
|
/// 节点名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Label { get; set; }
|
public string Label { get; set; }
|
||||||
|
public string Status { get; set; }
|
||||||
|
public string MenuType { get; set; }
|
||||||
|
|
||||||
public TreeSelectVo() { }
|
public TreeSelectVo() { }
|
||||||
|
|
||||||
@ -23,8 +22,9 @@ namespace ZR.Model.System.Vo
|
|||||||
{
|
{
|
||||||
Id = menu.MenuId;
|
Id = menu.MenuId;
|
||||||
Label = menu.MenuName;
|
Label = menu.MenuName;
|
||||||
|
Status = menu.Status;
|
||||||
|
MenuType = menu.MenuType;
|
||||||
|
|
||||||
//menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList()); java写法
|
|
||||||
List<TreeSelectVo> child = new List<TreeSelectVo>();
|
List<TreeSelectVo> child = new List<TreeSelectVo>();
|
||||||
foreach (var item in menu.Children)
|
foreach (var item in menu.Children)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user