Optimize code

This commit is contained in:
2024-03-01 15:34:01 +08:00
parent 935a1a223a
commit fb94ae6a52
7 changed files with 56 additions and 9 deletions

View File

@@ -336,6 +336,8 @@ const User = () => {
{value.username}
</>
),
getContainer: false,
centered: true,
maskClosable: true,
content: (
<AntdForm
@@ -356,7 +358,11 @@ const User = () => {
}
]}
>
<AntdInput.Password />
<AntdInput.Password
ref={(input) => {
input?.focus()
}}
/>
</AntdForm.Item>
<AntdForm.Item
name={'passwordConfirm'}