管理人员密码自动填入取消

This commit is contained in:
unknown 2023-07-20 16:59:30 +08:00
parent 377ecff30b
commit 08b555afea
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ export const SystemAdministratorCreate: React.FC<PropInterface> = ({
rules={[{ required: true, message: "请输入登录密码!" }]}
>
<Input.Password
autoComplete="off"
autoComplete="new-password"
allowClear
style={{ width: 200 }}
placeholder="请输入登录密码"

View File

@ -152,7 +152,7 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
</Form.Item>
<Form.Item label="密码" name="password">
<Input.Password
autoComplete="off"
autoComplete="new-password"
style={{ width: 200 }}
allowClear
placeholder="请输入登录密码"