首页登陆取消密码回填

This commit is contained in:
red-deng-deng 2021-12-07 18:24:29 +08:00
parent be938e1655
commit 770846f67b
1 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,8 @@ import {
Link,
Button,
ButtonDirective,
Notify
Notify,
AutoComplete
} from 'zent';
function FormDom(props) {
const form = Form.useForm(FormStrategy.View);
@ -159,7 +160,7 @@ const getProductList=()=>{
<FormInputField
name="password"
props={{ type: 'password',placeholder: '请输入密码',maxLength:16 }}
props={{ type: 'password',placeholder: '请输入密码',maxLength:16,autoComplete:'new-password' }}
validators={[
Validators.required('请输入密码'),