Authored by 于良

bug fix: http://jira.yoho.cn:8888/browse/YH-2655 review by 阿瑟

... ... @@ -173,9 +173,7 @@ class UserContainer extends React.Component {
case 2:
{
console.log('编辑个人资料');
// console.log('actions = ' + this.actions);
this.props.actions.goToStatsPage(GO_TO_SETTING);
this.props.actions.goToSetting();
}
break;
default:
... ...
... ... @@ -66,6 +66,13 @@ export function goToMessageCenter() {
};
}
export function goToSetting() {
Actions.Setting();
return {
type: GO_TO_SETTING,
};
}
export function userDidLogout() {
return {
type: USER_DID_LOGOUT,
... ... @@ -708,7 +715,7 @@ function parseReply(json) {
let self = {
avatar: reply && reply.headIcon ? reply.headIcon : '',
backgroundImage: reply && reply.bgPic ? reply.bgPic : '',
uid: reply && reply.uid ? reply.uid : '',
uid: reply && reply.uid ? reply.uid : 0,
name: reply && reply.nickName ? reply.nickName : '',
signature: reply && reply.signature ? reply.signature : '',
};
... ...