Merge branch 'newVersion_forge' into dev_chain

This commit is contained in:
caishi 2020-06-11 18:26:48 +08:00
commit 3b58518e37
1 changed files with 4 additions and 4 deletions

View File

@ -163,10 +163,10 @@ export function TPMIndexHOC(WrappedComponent) {
this.setState({
tpmLoading: false
})
const { pathname } = this.props.history.location;
if(pathname && pathname === "/"){
this.props.history.push(`/users/${response.data.login}`);
}
// const { pathname } = this.props.history.location;
// if(pathname && pathname === "/"){
// this.props.history.push(`/users/${response.data.login}`);
// }
}
}).catch((error) => {
console.log(error)