refactor: remove console.log
This commit is contained in:
parent
9f88c3c8a5
commit
c7e8641fb0
|
@ -58,8 +58,6 @@ class HeaderLayout extends React.Component {
|
|||
}
|
||||
|
||||
renderHomeIfLoggedIn(component) {
|
||||
console.log(this.state.account)
|
||||
|
||||
if (this.state.account === null) {
|
||||
message.warn('请先登录')
|
||||
return <Redirect to={'/home'}/>
|
||||
|
|
Loading…
Reference in New Issue