Skip to content

Commit 947d10b

Browse files
committed
refactor: 更改参数名称
1 parent 32a4c0a commit 947d10b

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 (ShowSplitbar)
9292
{
9393
<LayoutSplitebar></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 ShowSplitbar { get; set; }
7474

7575
/// <summary>
7676
/// 获得/设置 NotAuthorized 模板 默认 null NET6.0/7.0 有效

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.ShowSplitbar, true);
249249
pb.Add(a => a.Side, new RenderFragment(builder =>
250250
{
251251
builder.AddContent(0, "test");

0 commit comments

Comments
 (0)