Skip to content

Commit c40a1ed

Browse files
committed
doc: 更新 Menu 组件
1 parent 7cef217 commit c40a1ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor/Components/Menu/Menu.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<CascadingValue Value="this" IsFixed="true">
77
@if (IsVertical)
88
{
9-
<SideMenu Items="@Items" Id="@SideMenuId" class="@SideMenuClassString" OnClick="@OnClickMenu" IsScrollToView="@IsScrollIntoView" />
9+
<SideMenu Items="@Items" Id="@SideMenuId" class="@SideMenuClassString" OnClick="@OnClickMenu"></SideMenu>
1010
}
1111
else
1212
{
13-
<TopMenu Items="@Items" OnClick="@OnClickMenu" />
13+
<TopMenu Items="@Items" OnClick="@OnClickMenu"></TopMenu>
1414
}
1515
</CascadingValue>
1616
</nav>

0 commit comments

Comments
 (0)