管理人员密码禁止浏览器自动填入

This commit is contained in:
禺狨 2023-07-06 16:57:56 +08:00
parent d39c11ad98
commit 0461573e7f
2 changed files with 2 additions and 0 deletions

View File

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

View File

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