From 8c76784da625a66fa5b0b1ca7a9d945dcd75408f Mon Sep 17 00:00:00 2001 From: zxyao Date: Sun, 9 Oct 2022 19:06:43 +0800 Subject: [PATCH] fix(module: modal): remove close button of confirm dialog (#2776) --- components/modal/confirmDialog/Confirm.razor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/confirmDialog/Confirm.razor.cs b/components/modal/confirmDialog/Confirm.razor.cs index 8421cb3c66..9e00392651 100644 --- a/components/modal/confirmDialog/Confirm.razor.cs +++ b/components/modal/confirmDialog/Confirm.razor.cs @@ -61,6 +61,7 @@ private DialogOptions BuildDialogOptions(ConfirmOptions confirmOptions) Footer = null, ClassName = confirmOptions.ClassName, + Closable = false }; config.ClassName = "ant-modal-confirm ant-modal-confirm-" + confirmOptions.ConfirmType;