...
|
...
|
@@ -51,7 +51,7 @@ class UserLogoutContainer extends Component { |
|
|
this._onPressLogoutClause = this._onPressLogoutClause.bind(this);
|
|
|
this._confirmLogoutAction = this._confirmLogoutAction.bind(this);
|
|
|
this._updateLogoutModalState = this._updateLogoutModalState.bind(this);
|
|
|
this._gotoLogoutFaildReason = this._gotoLogoutFaildReason.bind(this);
|
|
|
this._gotoOnlineService = this._gotoOnlineService.bind(this);
|
|
|
this._gotoLogoutReason = this._gotoLogoutReason.bind(this);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -72,8 +72,8 @@ class UserLogoutContainer extends Component { |
|
|
this.props.actions.updateLogoutModalState(flag);
|
|
|
}
|
|
|
|
|
|
_gotoLogoutFaildReason(){
|
|
|
this.props.actions.gotoLogoutFaildReason()
|
|
|
_gotoOnlineService(){
|
|
|
this.props.actions.gotoOnlineService();
|
|
|
}
|
|
|
|
|
|
_gotoLogoutReason(){
|
...
|
...
|
@@ -81,7 +81,9 @@ class UserLogoutContainer extends Component { |
|
|
}
|
|
|
|
|
|
render() {
|
|
|
let {showConfirmLogoutModal, logoutStatus, isFetching, tipMessage,mobile} = this.props.userLogout;
|
|
|
let {showConfirmLogoutModal, logoutStatus, isFetching, tipMessage,mobile,cancelFailedDesc
|
|
|
} = this.props.userLogout;
|
|
|
cancelFailedDesc = cancelFailedDesc.toJS();
|
|
|
if (logoutStatus == 0) {
|
|
|
if (isFetching) {
|
|
|
return (
|
...
|
...
|
@@ -119,8 +121,9 @@ class UserLogoutContainer extends Component { |
|
|
} else {
|
|
|
return (
|
|
|
<UserLogoutFaild
|
|
|
gotoLogoutFaildReason={this._gotoLogoutFaildReason}
|
|
|
gotoOnlineService={this._gotoOnlineService}
|
|
|
gotoLogoutReason={this._gotoLogoutReason}
|
|
|
cancelFailedDesc={cancelFailedDesc}
|
|
|
/>
|
|
|
)
|
|
|
}
|
...
|
...
|
|