Commit a73f3544 by Zhang Xin

添加注释

parent 0eb37bd3
...@@ -45,12 +45,14 @@ export default class HomePageContainer extends React.Component{ ...@@ -45,12 +45,14 @@ export default class HomePageContainer extends React.Component{
},()=>{ },()=>{
UTILPATH.myLogger.info("logout startStopServer ",this.props.startStopServer); UTILPATH.myLogger.info("logout startStopServer ",this.props.startStopServer);
if(this.props.startStopServer){ if(this.props.startStopServer){
// 断网调用
this.props.willCloseDoor().then(()=>{ this.props.willCloseDoor().then(()=>{
this.props.endCountBack(); this.props.endCountBack();
this.props.tempLogout() this.props.tempLogout()
}); });
}else{ }else{
//正常调用
this.props.willCloseDoor().then(()=>{ this.props.willCloseDoor().then(()=>{
this.props.endCountBack(); this.props.endCountBack();
let msg={type:'WILL_CLOSEDOOR'}; let msg={type:'WILL_CLOSEDOOR'};
......
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