From 85bbbf40ef2cfbff452ebfd793b0e3bc26ab6789 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 12 Aug 2019 10:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=98=AF=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E5=AE=8C=E5=96=84=E8=B5=84=E6=96=99=EF=BC=8C=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E6=8B=89=E5=A4=B4=E9=83=A8=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/user/account/AccountBasicEdit.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/react/src/modules/user/account/AccountBasicEdit.js b/public/react/src/modules/user/account/AccountBasicEdit.js index d2e5b0670..cb6941070 100644 --- a/public/react/src/modules/user/account/AccountBasicEdit.js +++ b/public/react/src/modules/user/account/AccountBasicEdit.js @@ -166,8 +166,13 @@ class AccountBasic extends Component { }).then((result)=>{ if(result){ this.props.showNotification('保存成功') + // 如果是第一次完善资料,重新拉头部接口更新 + if (!this.props.basicInfo.base_info_completed) { + this.props.fetchUser() + } this.props.getBasicInfo(); this.props.history.push('/account/profile') + } }).catch((error)=>{ console.log(error);