Optimize modal

This commit is contained in:
2024-02-17 14:27:20 +08:00
parent 524b57ed8b
commit b798bb3eb5
9 changed files with 25 additions and 0 deletions

View File

@@ -286,6 +286,7 @@ const User = () => {
modal
.confirm({
title: '确定删除',
maskClosable: true,
content: `确定删除选中的 ${tableSelectedItem.length} 个用户吗?`
})
.then(
@@ -335,6 +336,7 @@ const User = () => {
{value.username}
</>
),
maskClosable: true,
content: (
<AntdForm
form={changePasswordForm}
@@ -466,6 +468,7 @@ const User = () => {
modal
.confirm({
title: '确定删除',
maskClosable: true,
content: `确定删除用户 ${value.username} 吗?`
})
.then(