Skip to content

Commit 0ba2eb8

Browse files
committed
doc: 更新示例代码
1 parent e09ab26 commit 0ba2eb8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/TreeViews.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@
148148
<DemoBlock Title="@Localizer["TreeViewShowSkeletonTitle"]"
149149
Introduction="@Localizer["TreeViewShowSkeletonIntro"]"
150150
Name="ShowSkeleton">
151-
<Button Text="@Localizer["TreeViewShowSkeletonButtonText"]" IsAsync="true" Icon="fa-solid fa-font-awesome" OnClick="@OnLoadAsyncItems"></Button>
151+
<section ignore>
152+
<Button Text="@Localizer["TreeViewShowSkeletonButtonText"]" IsAsync="true" Icon="fa-solid fa-font-awesome" OnClick="@OnLoadAsyncItems"></Button>
153+
</section>
152154
<TreeView Items="@AsyncItems" ShowSkeleton="true" OnExpandNodeAsync="OnExpandNodeAsync" class="mt-3"></TreeView>
153155
</DemoBlock>
154156

0 commit comments

Comments
 (0)