给相关的form表单设置以下属性即可: fieldProps={{ autoComplete:"new-password" }}
<ProFormText
width='xl'
name="account"
label="账号"
placeholder="请输入账号"
fieldProps={{
autoComplete:"new-password"
}}
/>
<ProFormText.Password
width='xl'
name="password"
label="密码"
fieldProps={{
autoComplete:"new-password"
}}
// autoComplete="off"
/>