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