Refactor(Modal): Optimize modal code

This commit is contained in:
2024-05-01 16:12:57 +08:00
parent 0ca5d8fc52
commit 80bec52fcd
4 changed files with 14 additions and 11 deletions

View File

@@ -16,9 +16,9 @@ const Mail = () => {
const handleOnTest = () => {
void modal.confirm({
title: '发送测试邮件',
centered: true,
maskClosable: true,
title: '发送测试邮件',
footer: (_, { OkBtn, CancelBtn }) => (
<>
<OkBtn />