|
|
@ -166,8 +166,13 @@ class AccountBasic extends Component {
|
|
|
|
}).then((result)=>{
|
|
|
|
}).then((result)=>{
|
|
|
|
if(result){
|
|
|
|
if(result){
|
|
|
|
this.props.showNotification('保存成功')
|
|
|
|
this.props.showNotification('保存成功')
|
|
|
|
|
|
|
|
// 如果是第一次完善资料,重新拉头部接口更新
|
|
|
|
|
|
|
|
if (!this.props.basicInfo.base_info_completed) {
|
|
|
|
|
|
|
|
this.props.fetchUser()
|
|
|
|
|
|
|
|
}
|
|
|
|
this.props.getBasicInfo();
|
|
|
|
this.props.getBasicInfo();
|
|
|
|
this.props.history.push('/account/profile')
|
|
|
|
this.props.history.push('/account/profile')
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch((error)=>{
|
|
|
|
}).catch((error)=>{
|
|
|
|
console.log(error);
|
|
|
|
console.log(error);
|
|
|
|