根据AC更改
This commit is contained in:
parent
3ccda10c54
commit
4225fcb793
|
@ -98,7 +98,7 @@ function FormDom(props) {
|
|||
<Form form={form} disabled={disabled} onSubmit={onSubmit} disableEnterSubmit={false} scrollToError={true}>
|
||||
<FormInputField
|
||||
name="user_name"
|
||||
props={{ placeholder: '请输入用户名' }}
|
||||
props={{ placeholder: '请输入用户名',maxLength:50 }}
|
||||
validators={[
|
||||
Validators.required('请输入用户名'),
|
||||
]}
|
||||
|
@ -106,7 +106,7 @@ function FormDom(props) {
|
|||
<FormInputField
|
||||
|
||||
name="password"
|
||||
props={{ type: 'password',placeholder: '请输入密码' }}
|
||||
props={{ type: 'password',placeholder: '请输入密码',maxLength:16 }}
|
||||
|
||||
validators={[
|
||||
Validators.required('请输入密码'),
|
||||
|
|
|
@ -65,7 +65,7 @@ const Modifypwd=(props)=>{
|
|||
]}
|
||||
notice="6-16位字符,数字+字母组成,字母(区分大小写)"
|
||||
props={{
|
||||
type: 'password',
|
||||
type: 'password',maxLength:16
|
||||
}}
|
||||
/>
|
||||
<FormInputField
|
||||
|
@ -75,7 +75,7 @@ const Modifypwd=(props)=>{
|
|||
notice="必须与新密码输入一致"
|
||||
validators={[ Validators.required('请确认密码'),equalsPassword]}
|
||||
props={{
|
||||
type: 'password',
|
||||
type: 'password',maxLength:16
|
||||
}}
|
||||
/>
|
||||
<p className="dflexajce">
|
||||
|
|
Loading…
Reference in New Issue