mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
542b66d383
* feat: refactor tree * feat: refactor tree Co-authored-by: James Yeung <shunjiey@hotmail.com>
15 lines
362 B
C#
15 lines
362 B
C#
@namespace AntDesign
|
|
|
|
<span class="ant-tree-indent" aria-hidden="true">
|
|
@for (int i = 0; i < TreeLevel; i++)
|
|
{
|
|
if (TreeComponent.IndentTemplate != null)
|
|
{
|
|
@TreeComponent.IndentTemplate(SelfNode)
|
|
}
|
|
else
|
|
{
|
|
<span class="ant-tree-indent-unit ng-star-inserted"></span>
|
|
}
|
|
}
|
|
</span> |