Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/Table/Table.razor.Edit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ protected async Task QueryData(bool triggerByPagination = false)
{
var queryOption = BuildQueryPageOptions();
// 是否为分页查询
queryOption.TriggerByPagination = triggerByPagination;
queryOption.IsTriggerByPagination = triggerByPagination;
// 设置是否为首次查询
queryOption.IsFirstQuery = _firstQuery;

Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Options/QueryPageOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ public class QueryPageOptions
/// <summary>
/// 获得 是否为刷新分页查询 默认 false
/// </summary>
public bool TriggerByPagination { get; set; }
public bool IsTriggerByPagination { get; set; }
}
2 changes: 1 addition & 1 deletion test/UnitTest/Components/TableTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ public void IsAutoQueryFirstQuery_Ok()
{
isQuery = true;
isFirstQuery = option.IsFirstQuery;
triggerByPagination = option.TriggerByPagination;
triggerByPagination = option.IsTriggerByPagination;
return Task.FromResult(new QueryData<Foo>()
{
Items = Array.Empty<Foo>(),
Expand Down
Loading