using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Components; namespace AntDesign { public partial class TreeIndent : ComponentBase { /// /// 树控件本身 /// [CascadingParameter(Name = "Tree")] public Tree TreeComponent { get; set; } /// /// 当前节点 /// [CascadingParameter(Name = "SelfNode")] public TreeNode SelfNode { get; set; } [Parameter] public int TreeLevel { get; set; } } }