!3744 fix(#I69EU7): add OnConfirm callback

* chore: bump version 7.2.3-beta01
* fix: 修复 OnConfirm 回调不生效问题
This commit is contained in:
Argo 2023-01-10 03:54:31 +00:00
parent 30dc75cd4e
commit 2275add0cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>7.2.2</Version>
<Version>7.2.3-beta01</Version>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">

View File

@ -75,6 +75,11 @@ public partial class TableToolbar<TItem> : ComponentBase
await button.OnClick.InvokeAsync();
}
if (button.OnConfirm != null)
{
await button.OnConfirm();
}
// 传递当前选中行给回调委托方法
if (button.OnConfirmCallback != null)
{