Skip to content

Commit 0272bf8

Browse files
committed
refactor: 重构方法
1 parent fa86bb5 commit 0272bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/Table/TablesColumnResizing.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private Task<QueryData<Foo>> OnQueryAsync(QueryPageOptions options)
3434
IEnumerable<Foo> items = Items;
3535
// 过滤
3636
var isFiltered = false;
37-
if (options.Filters.Count != 0)
37+
if (options.Filters.Count > 0)
3838
{
3939
items = items.Where(options.Filters.GetFilterFunc<Foo>());
4040
isFiltered = true;

0 commit comments

Comments
 (0)