Commit 590cfe40 by Zhang Xin

完成任务就结束倒计时

parent ebf65e40
...@@ -44,6 +44,7 @@ export default class HomePageContainer extends React.Component{ ...@@ -44,6 +44,7 @@ export default class HomePageContainer extends React.Component{
closeDoorStatus : 1 closeDoorStatus : 1
},()=>{ },()=>{
this.props.willCloseDoor(); this.props.willCloseDoor();
this.props.endCountBack();
let msg={type:'WILL_CLOSEDOOR'}; let msg={type:'WILL_CLOSEDOOR'};
sendMsg(JSON.stringify(msg)); sendMsg(JSON.stringify(msg));
this.props.changeIsSend(true); this.props.changeIsSend(true);
......
...@@ -800,6 +800,7 @@ class PageContainer extends React.Component { ...@@ -800,6 +800,7 @@ class PageContainer extends React.Component {
tempLogout={()=>this.tempLogout.bind(this)()} tempLogout={()=>this.tempLogout.bind(this)()}
changeIsSend ={this.changeIsSend.bind(this)} changeIsSend ={this.changeIsSend.bind(this)}
beginCloseDoor={this.beginCloseDoor.bind(this)} beginCloseDoor={this.beginCloseDoor.bind(this)}
endCountBack={this.endCountBack}
/>; />;
break; break;
case showPage[12]: case showPage[12]:
......
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