Update step2.js

This commit is contained in:
姜棚 2022-01-22 11:26:33 +08:00
parent e8ac4bb192
commit ca14e06072
1 changed files with 4 additions and 0 deletions

View File

@ -152,9 +152,11 @@ export default class acclist extends React.Component{
this.setState({model:model2})
if(e.target.value == 6)
{
sessionStorage.setItem("white",1)
this.setState({white_visible:true})
}
else{
sessionStorage.setItem("white",0)
this.setState({white_visible:false})
}
}
@ -264,9 +266,11 @@ export default class acclist extends React.Component{
if(model.style == 6)
{
sessionStorage.setItem("white",1)
this.setState({white_visible:true})
}
else{
sessionStorage.setItem("white",0)
this.setState({white_visible:false})
}