fix: login的reducer文件正确返回

This commit is contained in:
wenbo.dong 2017-07-25 16:04:45 +08:00
parent 8b1f37077b
commit 2ea2eab379
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export default (state = initialState, action) => {
userName: action.payload.data.data.username
};
} else {
break;
return state;
}
}
case LOGIN_OUT: {

View File

@ -38,7 +38,7 @@ export default (state = initialState, action) => {
userName: action.payload.data.data.username
};
} else {
break;
return state;
}
}
case LOGIN_OUT: {