Skip to content

Commit 5307bad

Browse files
committed
refactor: 移除预留占位节点
1 parent 237eb21 commit 5307bad

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/BootstrapBlazor/Components/TreeView/TreeViewRow.razor

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,6 @@
4343
OnUpdateCallbackAsync="OnUpdateCallbackAsync"></TreeViewToolbarEditButton>
4444
}
4545
}
46-
47-
@* 鼠标拖到节点中央,表示放置到当前节点内部作为最后一个子节点,显示边框预览 *@
48-
@if (_previewChildLast)
49-
{
50-
<div class="tree-preview-child-last"></div>
51-
}
52-
@* 展开状态下,拖到当前节点靠下的位置,插入到内部作为第一个子节点,显示线条预览 *@
53-
@if (_previewChildFirst)
54-
{
55-
<div class="tree-preview-child-first">
56-
<div class="tree-preview-circle"></div>
57-
<div class="tree-preview-line"></div>
58-
</div>
59-
}
60-
@* 折叠状态或者没有子节点,拖到当前节点靠下的位置,作为同级节点,显示线条预览 *@
61-
@if (_previewBelow)
62-
{
63-
<div class="tree-preview-below">
64-
<div class="tree-preview-circle"></div>
65-
<div class="tree-preview-line"></div>
66-
</div>
67-
}
6846
</DynamicElement>
6947
</div>
7048
</div>

0 commit comments

Comments
 (0)