Skip to content

Commit fbbd427

Browse files
committed
refactor: 代码格式化
1 parent 67373bd commit fbbd427

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,13 @@ public partial class Tab : IHandlerException
358358
/// </summary>
359359
[Parameter]
360360
public string? CloseTabNavLinkTooltipText { get; set; }
361-
361+
362362
/// <summary>
363363
/// Gets or sets whether enable tab context menu. Default is false.
364364
/// </summary>
365365
[Parameter]
366366
public bool ShowContextMenu { get; set; }
367-
367+
368368
/// <summary>
369369
/// Gets or sets the template of before context menu. Default is null.
370370
/// </summary>
@@ -376,7 +376,7 @@ public partial class Tab : IHandlerException
376376
/// </summary>
377377
[Parameter]
378378
public RenderFragment<Tab>? ContextMenuTemplate { get; set; }
379-
379+
380380
/// <summary>
381381
/// Gets or sets the icon of tab item context menu refresh button. Default is null.
382382
/// </summary>
@@ -400,7 +400,7 @@ public partial class Tab : IHandlerException
400400
/// </summary>
401401
[Parameter]
402402
public string? ContextMenuCloseAllIcon { get; set; }
403-
403+
404404
[CascadingParameter]
405405
private Layout? Layout { get; set; }
406406

@@ -426,9 +426,9 @@ public partial class Tab : IHandlerException
426426

427427
[Inject, NotNull]
428428
private DialogService? DialogService { get; set; }
429-
429+
430430
private ContextMenuZone? _contextMenuZone;
431-
431+
432432
private ConcurrentDictionary<TabItem, bool> LazyTabCache { get; } = new();
433433

434434
private bool HandlerNavigation { get; set; }
@@ -484,7 +484,7 @@ protected override void OnParametersSet()
484484
ContextMenuCloseIcon ??= IconTheme.GetIconByKey(ComponentIcons.TabContextMenuCloseIcon);
485485
ContextMenuCloseOtherIcon ??= IconTheme.GetIconByKey(ComponentIcons.TabContextMenuCloseOtherIcon);
486486
ContextMenuCloseAllIcon ??= IconTheme.GetIconByKey(ComponentIcons.TabContextMenuCloseAllIcon);
487-
487+
488488
if (AdditionalAssemblies is null)
489489
{
490490
var entryAssembly = Assembly.GetEntryAssembly();
@@ -1035,7 +1035,7 @@ public async Task Refresh(TabItem item)
10351035
await OnToolbarRefreshCallback();
10361036
}
10371037
}
1038-
1038+
10391039
private async Task OnRefresh(ContextMenuItem item, object? context)
10401040
{
10411041
if (context is TabItem tabItem)

0 commit comments

Comments
 (0)