请输入真实姓名,最大限制10个字符

dev_hjm
hjm 6 years ago
parent 8256ede495
commit 6ecd439ce5

@ -398,7 +398,7 @@ class AccountBasic extends Component {
callback(); callback();
return; return;
} }
callback('请输入您的姓名最大限制10个字符'); callback('请输入真实姓名最大限制10个字符');
} }
render() { render() {
@ -512,11 +512,11 @@ class AccountBasic extends Component {
rules: [{ rules: [{
// initialValue: this.state.cityDefaultValue, // initialValue: this.state.cityDefaultValue,
required: true, required: true,
message: '请输入您的姓名最大限制10个字符', message: '请输入真实姓名最大限制10个字符',
validator: this.checkNameLength validator: this.checkNameLength
}], }],
})( })(
<Input placeholder="请输入您的姓名最大限制10个字符" disabled={!showRealName && this.state.forDisable == true } suffix={ <Input placeholder="请输入真实姓名最大限制10个字符" disabled={!showRealName && this.state.forDisable == true } suffix={
<i className={showRealName?"iconfont icon-xianshi font-18 color-blue":"iconfont icon-yincang font-18 color-blue"} <i className={showRealName?"iconfont icon-xianshi font-18 color-blue":"iconfont icon-yincang font-18 color-blue"}
onClick={()=>this.showOrHide(showRealName)}></i> onClick={()=>this.showOrHide(showRealName)}></i>
}></Input> }></Input>

Loading…
Cancel
Save