Skip to content

Commit 729fd45

Browse files
committed
doc: 更改布局模拟器返回链接
1 parent 6d4fc50 commit 729fd45

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/BootstrapBlazor.Server/Components/Layout/PageLayout.razor

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
</HeadContent>
77

88
<CascadingValue Value="this" IsFixed="true">
9-
<Layout IsPage="true" IsFullSide="@IsFullSide" IsFixedHeader="@IsFixedHeader" IsFixedFooter="@IsFixedFooter" IsFixedTabHeader="IsFixedTabHeader"
9+
<Layout IsPage="true" IsFullSide="@IsFullSide" IsFixedHeader="@IsFixedHeader"
10+
IsFixedFooter="@IsFixedFooter" IsFixedTabHeader="IsFixedTabHeader"
1011
ShowFooter="@ShowFooter" ShowGotoTop="true" ShowCollapseBar="true" Menus="@Menus"
11-
UseTabSet="@UseTabSet" TabDefaultUrl="layout-page" AdditionalAssemblies="new[] { GetType().Assembly }" class="@LayoutClassString">
12+
UseTabSet="@UseTabSet" TabDefaultUrl="layout-page" AdditionalAssemblies="new[] { GetType().Assembly }"
13+
class="@LayoutClassString">
1214
<Header>
1315
<span class="ms-3 flex-fill">Bootstrap of Blazor</span>
1416
<Widget></Widget>

src/BootstrapBlazor.Server/Components/Layout/PageLayout.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected override async Task OnInitializedAsync()
6161

6262
Menus = new List<MenuItem>
6363
{
64-
new() { Text = "返回组件库", Icon = "fa-fw fa-solid fa-house", Url = "components" },
64+
new() { Text = "返回文档", Icon = "fa-fw fa-solid fa-house", Url = "introduction" },
6565
new() { Text = "后台模拟器", Icon = "fa-fw fa-solid fa-desktop", Url = "layout-page" },
6666
new() { Text = "示例网页", Icon = "fa-fw fa-solid fa-laptop", Url = "layout-demo/text=Parameter1" }
6767
};

0 commit comments

Comments
 (0)