Commit 7ddec4bf by zhanghaozhe

debug

parent a549ed4a
......@@ -190,7 +190,6 @@ class App extends Component {
const {location} = this.props
let isInBlacklist = this.pathnameBlacklist.some(item => location.pathname.startsWith(item))
!isInBlacklist && (this.previousLocation = location)
// console.log(this.previousLocation)
}
transformUser = res => {
......
......@@ -86,7 +86,6 @@ class Passport extends Component {
routeWhenUserLoggedIn = () => {
let {hasError} = this.props.user
if (!hasError) {
console.log(this.count)
const redirectURI = getParam('redirect')
redirectURI ? (window.location.href = redirectURI) : this.props.history.go(-this.count)
}
......
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