From 2275add0cde2018d7bae6bd8e57a017eec6c38c5 Mon Sep 17 00:00:00 2001 From: Argo Date: Tue, 10 Jan 2023 03:54:31 +0000 Subject: [PATCH] =?UTF-8?q?!3744=20fix(#I69EU7):=20add=20OnConfirm=20callb?= =?UTF-8?q?ack=20*=20chore:=20bump=20version=207.2.3-beta01=20*=20fix:=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20OnConfirm=20=E5=9B=9E=E8=B0=83=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- src/BootstrapBlazor/Components/Table/TableToolbar.razor.cs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 717eaa42d..69efcb15d 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 7.2.2 + 7.2.3-beta01 diff --git a/src/BootstrapBlazor/Components/Table/TableToolbar.razor.cs b/src/BootstrapBlazor/Components/Table/TableToolbar.razor.cs index d76246471..05f216693 100644 --- a/src/BootstrapBlazor/Components/Table/TableToolbar.razor.cs +++ b/src/BootstrapBlazor/Components/Table/TableToolbar.razor.cs @@ -75,6 +75,11 @@ public partial class TableToolbar : ComponentBase await button.OnClick.InvokeAsync(); } + if (button.OnConfirm != null) + { + await button.OnConfirm(); + } + // 传递当前选中行给回调委托方法 if (button.OnConfirmCallback != null) {