子账号设置密码掩码显示
This commit is contained in:
parent
49d49b33de
commit
77ba2cf3ce
|
@ -97,7 +97,9 @@ export default class adduserinfo extends React.Component{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
changeKind(){
|
||||||
|
this.setState({pwdtype:'password'});
|
||||||
|
}
|
||||||
submit(){
|
submit(){
|
||||||
let valiform=this.refs.form1.validator()
|
let valiform=this.refs.form1.validator()
|
||||||
let roleArr=this.refs.roletree.state.checkedKeys;
|
let roleArr=this.refs.roletree.state.checkedKeys;
|
||||||
|
@ -422,6 +424,7 @@ export default class adduserinfo extends React.Component{
|
||||||
model2.password = e;
|
model2.password = e;
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
}}
|
}}
|
||||||
|
onfocusFn={(e)=>this.changeKind()}
|
||||||
markedShow={(e)=>{this.changeType(e)}} kind={this.state.pwdtype}
|
markedShow={(e)=>{this.changeType(e)}} kind={this.state.pwdtype}
|
||||||
disabled={this.state.disabled}
|
disabled={this.state.disabled}
|
||||||
onClearItem={(e)=>{
|
onClearItem={(e)=>{
|
||||||
|
|
Loading…
Reference in New Issue