Skip to content

Commit 9ddc54f

Browse files
committed
refactor: 更改样式字符串
1 parent cf0ba4e commit 9ddc54f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public partial class AutoComplete
1515
/// <summary>
1616
/// 获得 组件样式
1717
/// </summary>
18-
protected virtual string? ClassString => CssBuilder.Default("auto-complete")
18+
private string? ClassString => CssBuilder.Default("auto-complete")
19+
.AddClassFromAttributes(AdditionalAttributes)
1920
.Build();
2021

2122
/// <summary>

0 commit comments

Comments
 (0)