diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js index 803c9745..22384126 100644 --- a/src/forge/users/Infos.js +++ b/src/forge/users/Infos.js @@ -258,6 +258,10 @@ class Infos extends Component { axios.put(url,params).then(result=>{ if(result && result.data){ this.fetchUser(); + if(flag){ + const { username } = this.props.match.params; + this.props.history.push(`/${username}`); + } } }) } @@ -337,7 +341,10 @@ class Infos extends Component {
想全方位展示自己?试试点击下方按钮定制化您的专属个人简介吧!
{ - user.show_super_description ? this.aboutDescFunc(false)}>隐藏个人简介 : this.aboutDescFunc(true)}>展示个人简介 + user.show_super_description ? + this.aboutDescFunc(false)}>隐藏个人简介 + : + this.aboutDescFunc(true)}>展示个人简介 }