@namespace AntDesign @inherits ComponentBase @typeparam TItem @if (IsShowSwitchIcon) { @if (!SelfNode.Loading) { if (TreeComponent.SwitcherIconTemplate != null) { @TreeComponent.SwitcherIconTemplate(SelfNode) } else { } } else { } } @if (TreeComponent.ShowLine) { @if (!SelfNode.Loading) { if (TreeComponent.SwitcherIconTemplate != null) { @TreeComponent.SwitcherIconTemplate(SelfNode) } else { @if (IsShowLineIcon) { } else { } } } else { } }