Commit 62dee477 by Zhang Xin

change 判断语句

parent 6f5d1b8c
......@@ -103,7 +103,7 @@ export default class HomePageContainer extends React.Component{
: null
}
<div className={"homeText font42"} style={{marginTop:marginTop20}}>请关门,然后继续完成其他工作</div>
<Button text={this.state.closeDoorStatus ? '关门中...' : '请点击按钮后关门'} btnContainer={'colfff font30'} style={buttonStyle} option={this.logout.bind(this)}/>
<Button text={this.state.closeDoorStatus === 1 ? '关门中...' : '请点击按钮后关门'} btnContainer={'colfff font30'} style={buttonStyle} option={this.logout.bind(this)}/>
</div> :
<div className={"homeContainer"} >
<img className={"homeIcon"} style={imgStyle} src={UTILPATH.localImg.homePage} alt=""/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment