refactor: 增加 Tab 默认首页
This commit is contained in:
parent
7369db6778
commit
7b0902435c
|
@ -1,5 +1,6 @@
|
|||
@page "/"
|
||||
@page "/Home/Index"
|
||||
@attribute [TabItemOption(Text = "首页", Icon = "fa fa-fa")]
|
||||
|
||||
<h1>Hello, world!</h1>
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<Layout SideWidth="0" IsPage="true" ShowGotoTop="true" ShowCollapseBar="true"
|
||||
IsFullSide="@IsFullSide" IsFixedHeader="@IsFixedHeader" IsFixedFooter="@IsFixedFooter" ShowFooter="@ShowFooter"
|
||||
Menus="@MenuItems" UseTabSet="@UseTabSet" TabItemTextDictionary="@TabItemTextDictionary"
|
||||
TabDefaultUrl="/Home/Index"
|
||||
AdditionalAssemblies="new[] { GetType().Assembly }" OnAuthorizing="@OnAuthorizing" class="@Theme">
|
||||
<Header>
|
||||
<span class="ml-3 flex-sm-fill d-none d-sm-block">Bootstrap of Blazor</span>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<DropdownWidget class="text-right flex-fill px-3">
|
||||
<DropdownWidget class="text-right px-3">
|
||||
<DropdownWidgetItem Icon="fa fa-envelope-o" BadgeNumber="4">
|
||||
<HeaderTemplate>
|
||||
<span>您有 4 个未读消息</span>
|
||||
|
|
Loading…
Reference in New Issue