解决key样式的选择

This commit is contained in:
姜棚 2022-01-24 11:50:50 +08:00
parent b83ae64427
commit a240dcc77d
1 changed files with 4 additions and 3 deletions

View File

@ -97,7 +97,6 @@ export default class acclist extends React.Component{
if(this.props.keyStyle == 6)
{
this.setState({white_visible:this.props.whiteStyle})
}
let model = this.state.model;
model.style = this.props.keyStyle
this.setState({model:model})
@ -105,6 +104,8 @@ export default class acclist extends React.Component{
}
}
submit(){
let valide = false;
if(this.refs.form1.validator())