diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index 833f1a4d..6216c518 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -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}) }