Skip to content

Commit 02fb341

Browse files
committed
doc: 代码格式化
1 parent 1477777 commit 02fb341

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Select/Select.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
}
9292
else if (IsMarkupString)
9393
{
94-
@((MarkupString)item.Text)
94+
@((MarkupString)item.Text)
9595
}
9696
else
9797
{

src/BootstrapBlazor/Components/Select/Select.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private SelectedItem? SelectedRow
306306
{
307307
var item = Rows.Find(i => i.Value == CurrentValueAsString)
308308
?? Rows.Find(i => i.Active)
309-
?? Rows.Where(i => !i.IsDisabled).FirstOrDefault()
309+
?? Rows.FirstOrDefault(i => !i.IsDisabled)
310310
?? GetVirtualizeItem(CurrentValueAsString);
311311

312312
if (item != null)

src/BootstrapBlazor/Components/Select/SelectBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public abstract class SelectBase<TValue> : PopoverSelectBase<TValue>
4848
public bool IsMarkupString { get; set; }
4949

5050
/// <summary>
51-
/// 获得/设置 字符串比较规则 默认 StringComparison.OrdinalIgnoreCase 大小写不敏感
51+
/// 获得/设置 字符串比较规则 默认 StringComparison.OrdinalIgnoreCase 大小写不敏感
5252
/// </summary>
5353
[Parameter]
5454
public StringComparison StringComparison { get; set; } = StringComparison.OrdinalIgnoreCase;

0 commit comments

Comments
 (0)