refactor: remove console.log

This commit is contained in:
lbaf23 2021-08-23 15:29:52 +08:00
parent 9f88c3c8a5
commit c7e8641fb0
1 changed files with 0 additions and 2 deletions

View File

@ -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'}/>