...
|
...
|
@@ -84,7 +84,7 @@ export function checkUserLogedIn() { |
|
|
let fetchLogoutState = (uid) => {
|
|
|
return new UserLogoutService(app.host).fetchLogoutState(uid)
|
|
|
.then(json => {
|
|
|
dispatch(fetchLogoutStatusSuccess({state:json.status, descList:json.desc}));
|
|
|
dispatch(fetchLogoutStatusSuccess({state:json.status, descList:json.desc?json.desc:[]}));
|
|
|
})
|
|
|
.catch(error => {
|
|
|
dispatch(fetchLogoutStatusFailure(error.message?error.message:'网络错误'));
|
...
|
...
|
|