子账号设置密码掩码显示

This commit is contained in:
red-deng-deng 2021-12-15 14:32:53 +08:00
parent 49d49b33de
commit 77ba2cf3ce
1 changed files with 5 additions and 2 deletions

View File

@ -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)=>{