Skip to content

Commit 0dcc87c

Browse files
committed
refactor: 代码规范化
1 parent 467c577 commit 0dcc87c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/BootstrapBlazor/Components/RibbonTab/RibbonTab.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
OnItemClickAsync="OnItemClickAsync!" OnMenuClickAsync="OnMenuClickAsync!" OnFloatChanged="OnFloatChanged!"
88
EncodeAnchorCallback="EncodeAnchorCallback!" DecodeAnchorCallback="DecodeAnchorCallback!"
99
RightButtonsTemplate="RightButtonsTemplate!"
10-
RibbonArrowUpIcon="@RibbonArrowUpIcon" RibbonArrowDownIcon="@RibbonArrowDownIcon" RibbonArrowPinIcon="@RibbonArrowPinIcon"></RibbonTabHeader>
10+
RibbonArrowUpIcon="@RibbonArrowUpIcon" RibbonArrowDownIcon="@RibbonArrowDownIcon"
11+
RibbonArrowPinIcon="@RibbonArrowPinIcon"></RibbonTabHeader>
1112
@if (ChildContent != null)
1213
{
1314
<div class="ribbon-body">

src/BootstrapBlazor/Components/RibbonTab/RibbonTabHeader.razor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ public partial class RibbonTabHeader
1717
/// </summary>
1818
[Parameter]
1919
[NotNull]
20-
#if NET6_0_OR_GREATER
2120
[EditorRequired]
22-
#endif
2321
public IEnumerable<RibbonTabItem>? Items { get; set; }
2422

2523
/// <summary>

0 commit comments

Comments
 (0)