Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ protected async Task SaveAsync(EditContext context, ItemChangedType changedType)
}
else
{
await QueryData();
await QueryAsync();
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/BootstrapBlazor/Components/Table/Table.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ protected async Task LoopQueryAsync()
await Task.Delay(AutoRefreshInterval, AutoRefreshCancelTokenSource.Token);

// 不调用 QueryAsync 防止出现 Loading 动画 保持屏幕静止
await QueryData();
await QueryAsync();
StateHasChanged();
}
catch (TaskCanceledException) { }
Expand Down Expand Up @@ -1516,7 +1516,7 @@ public async Task ResetSortAsync()
SortName = null;
SortOrder = SortOrder.Unset;

await QueryData();
await QueryAsync();
}

private bool GetAddButtonStatus() => DisableAddButtonCallback?.Invoke(SelectedRows) ?? false;
Expand Down
Loading