Skip to content

Commit 6d36f4e

Browse files
committed
refactor: 文档格式化
1 parent 1ac8827 commit 6d36f4e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/BootstrapBlazor.Server/Components/Samples/Table/TablesEdit.razor

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
<h4>@((MarkupString)Localizer["TablesEditDescription"].Value)</h4>
1010

1111
<DemoBlock Title="@Localizer["TablesEditItemsTitle"]" Introduction="@Localizer["TablesEditItemsIntro"]" Name="EditItems">
12-
<section ignore class="row form-inline g-3">
13-
<div class="col-12">
14-
<div>@((MarkupString)Localizer["TablesEditItemsDescription"].Value)</div>
15-
</div>
16-
<div class="col-12 col-sm-6">
17-
<BootstrapInputGroup>
18-
<BootstrapInputGroupLabel DisplayText="IsGroupExtendButtons"></BootstrapInputGroupLabel>
19-
<Switch @bind-Value="_useGroup"></Switch>
20-
</BootstrapInputGroup>
21-
</div>
22-
</section>
12+
<section ignore class="row form-inline g-3">
13+
<div class="col-12">
14+
<div>@((MarkupString)Localizer["TablesEditItemsDescription"].Value)</div>
15+
</div>
16+
<div class="col-12 col-sm-6">
17+
<BootstrapInputGroup>
18+
<BootstrapInputGroupLabel DisplayText="IsGroupExtendButtons"></BootstrapInputGroupLabel>
19+
<Switch @bind-Value="_useGroup"></Switch>
20+
</BootstrapInputGroup>
21+
</div>
22+
</section>
2323
<Table TItem="Foo" @bind-Items="EditItems"
24-
IsStriped="true" IsBordered="true" IsMultipleSelect="true" IsGroupExtendButtons="_useGroup"
24+
IsStriped="true" IsBordered="true" IsMultipleSelect="true" IsGroupExtendButtons="_useGroup"
2525
ShowToolbar="true" ShowExtendButtons="true" ShowSkeleton="true"
2626
OnAddAsync="@OnAddAsync">
2727
<TableColumns>
@@ -318,7 +318,7 @@
318318
<TableColumn @bind-Field="@context.Hobby" Items="@Hobbies" Ignore="true" />
319319
<TableTemplateColumn Text="@Localizer["TableTemplateColumnText"]">
320320
<Template Context="v">
321-
@v.Row.ReadonlyColumn
321+
@v.Row.ReadonlyColumn
322322
</Template>
323323
</TableTemplateColumn>
324324
</TableColumns>

0 commit comments

Comments
 (0)