Skip to content

Commit fe611fd

Browse files
committed
refactor: 更改参数名称
1 parent c442d0f commit fe611fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Layout/Layout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
{
8989
@Side
9090
}
91-
@if (ShowSplitbar)
91+
@if (ShowSplitebar)
9292
{
9393
<LayoutSplitebar Min="SidebarMinWidth" Max="SidebarMaxWidth"></LayoutSplitebar>
9494
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public partial class Layout : IHandlerException
7070
/// 仅在 左右布局时有效
7171
/// </summary>
7272
[Parameter]
73-
public bool ShowSplitbar { get; set; }
73+
public bool ShowSplitebar { get; set; }
7474

7575
/// <summary>
7676
/// 获得/设置 侧边栏最小宽度 默认 null 未设置

test/UnitTest/Components/LayoutTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public void ShowLayouSidebar_Ok()
245245
pb.Add(a => a.UseTabSet, true);
246246
pb.Add(a => a.AdditionalAssemblies, new Assembly[] { GetType().Assembly });
247247
pb.Add(a => a.IsFullSide, true);
248-
pb.Add(a => a.ShowSplitbar, true);
248+
pb.Add(a => a.ShowSplitebar, true);
249249
pb.Add(a => a.SidebarMinWidth, 100);
250250
pb.Add(a => a.SidebarMaxWidth, 300);
251251
pb.Add(a => a.Side, new RenderFragment(builder =>

0 commit comments

Comments
 (0)