Update step2.js
This commit is contained in:
parent
e8ac4bb192
commit
ca14e06072
|
@ -152,9 +152,11 @@ export default class acclist extends React.Component{
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
if(e.target.value == 6)
|
if(e.target.value == 6)
|
||||||
{
|
{
|
||||||
|
sessionStorage.setItem("white",1)
|
||||||
this.setState({white_visible:true})
|
this.setState({white_visible:true})
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
sessionStorage.setItem("white",0)
|
||||||
this.setState({white_visible:false})
|
this.setState({white_visible:false})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -264,9 +266,11 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
if(model.style == 6)
|
if(model.style == 6)
|
||||||
{
|
{
|
||||||
|
sessionStorage.setItem("white",1)
|
||||||
this.setState({white_visible:true})
|
this.setState({white_visible:true})
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
sessionStorage.setItem("white",0)
|
||||||
this.setState({white_visible:false})
|
this.setState({white_visible:false})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue