Commit 1df5f5b6 by zhanghaozhe

登录问题

parent 234989a4
...@@ -200,6 +200,7 @@ class App extends Component { ...@@ -200,6 +200,7 @@ class App extends Component {
const {location} = this.props const {location} = this.props
let isInBlacklist = this.pathnameBlacklist.some(item => location.pathname.startsWith(item)) let isInBlacklist = this.pathnameBlacklist.some(item => location.pathname.startsWith(item))
!isInBlacklist && (this.previousLocation = location) !isInBlacklist && (this.previousLocation = location)
console.log(location)
} }
transformUser = res => { transformUser = res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment