Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>

<div class="tabs-coms">
<Tab IsBorderCard="true" IsLazyLoadTabItem="true" ShowFullScreen="true" TabStyle="TabStyle.Chrome" ShowToolbar="true" @ref="Tab">
<Tab IsBorderCard="true" IsLazyLoadTabItem="true" TabStyle="TabStyle.Chrome" ShowToolbar="true" @ref="Tab">
<TabItem Text="Example" Icon="fa-solid fa-desktop">
<CascadingValue Value="@RazorFileName" Name="RazorFileName">
@Body
Expand All @@ -42,7 +42,7 @@
<TabItem Text="C#" Icon="fa-regular fa-file-code">
<Pre @key="@CSharpFileName" CodeFile="@CSharpFileName" class="code-cs"></Pre>
</TabItem>
<TabItem Text="@Video" Icon="fa-regular fa-file-video" ShowFullScreen="false">
<TabItem Text="@Video" Icon="fa-regular fa-file-video">
<Video @key="@VideoFileName" Name="@VideoFileName"></Video>
<p><b>交流群</b></p>
<QQGroup />
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/Layout/Layout.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public partial class Layout : IHandlerException, ITabHeader
public Func<bool, Task>? OnCollapsed { get; set; }

/// <summary>
/// 获得/设置 默认标签页 关闭所以标签页时自动打开此地址 默认 null 未设置
/// 获得/设置 默认标签页 关闭所有标签页时自动打开此地址 默认 null 未设置
/// </summary>
Comment on lines 264 to 266
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick (typo): Corrected comment typo improves documentation consistency.

The correction from "关闭所以标签页" to "关闭所有标签页" makes the comment clearer. This change improves readability and avoids potential confusion.

Suggested change
/// <summary>
/// 获得/设置 默认标签页 关闭所以标签页时自动打开此地址 默认 null 未设置
/// 获得/设置 默认标签页 关闭所有标签页时自动打开此地址 默认 null 未设置
/// </summary>
/// <summary>
/// 获得/设置 默认标签页,关闭所有标签页时自动打开此地址。默认为 null(未设置)。
/// </summary>

[Parameter]
public string TabDefaultUrl { get; set; } = "";
Expand Down