mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-04 04:59:38 +08:00
!3744 fix(#I69EU7): add OnConfirm callback
* chore: bump version 7.2.3-beta01 * fix: 修复 OnConfirm 回调不生效问题
This commit is contained in:
parent
30dc75cd4e
commit
2275add0cd
@ -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'">
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user