forked from Gitlink/forgeplus-react
修改后更新
This commit is contained in:
parent
81d8a866f0
commit
bb7732c666
|
@ -200,9 +200,14 @@ class Infos extends Component {
|
|||
avatarVisible:false
|
||||
})
|
||||
if(reset){
|
||||
this.fetchUser();
|
||||
const { resetUserInfo } = this.props;
|
||||
resetUserInfo && resetUserInfo();
|
||||
const { menuKey } = this.state;
|
||||
if(menuKey === "2" || menuKey === "3"){
|
||||
window.location.reload();
|
||||
}else{
|
||||
this.fetchUser();
|
||||
const { resetUserInfo } = this.props;
|
||||
resetUserInfo && resetUserInfo();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue