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/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>10.6.1-beta23</Version>
<Version>10.6.1-beta24</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
9 changes: 9 additions & 0 deletions src/BootstrapBlazor/Components/Table/Table.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1947,6 +1947,15 @@
StateHasChanged();
}

/// <summary>
/// <para lang="zh">列宽自适应回调方法 由 JavaScript 脚本调用</para>
/// <para lang="en">Auto Fit Column Width Callback called by JavaScript</para>
/// </summary>
[JSInvokable]
[Obsolete("已弃用,请使用 ResizeColumnCallback 代替;Deprecated. Please use ResizeColumnCallback instead.")]
[ExcludeFromCodeCoverage]
public async Task AutoFitColumnWidthCallback(string fieldName, TableColumnClientStatus columnState) => ResizeColumnCallback(fieldName, columnState);

Check warning on line 1957 in src/BootstrapBlazor/Components/Table/Table.razor.cs

View workflow job for this annotation

GitHub Actions / run test

Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Comment thread
ArgoZhang marked this conversation as resolved.

private void UpdateTableColumnState(TableColumnClientStatus columnState)
{
// 更新缓存数据中列宽度
Expand Down
Loading