解决key样式的选择
This commit is contained in:
parent
b83ae64427
commit
a240dcc77d
|
@ -97,7 +97,6 @@ export default class acclist extends React.Component{
|
||||||
if(this.props.keyStyle == 6)
|
if(this.props.keyStyle == 6)
|
||||||
{
|
{
|
||||||
this.setState({white_visible:this.props.whiteStyle})
|
this.setState({white_visible:this.props.whiteStyle})
|
||||||
}
|
|
||||||
let model = this.state.model;
|
let model = this.state.model;
|
||||||
model.style = this.props.keyStyle
|
model.style = this.props.keyStyle
|
||||||
this.setState({model:model})
|
this.setState({model:model})
|
||||||
|
@ -105,6 +104,8 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
submit(){
|
submit(){
|
||||||
let valide = false;
|
let valide = false;
|
||||||
if(this.refs.form1.validator())
|
if(this.refs.form1.validator())
|
||||||
|
|
Loading…
Reference in New Issue