Commit 41c8e399 by zhanghaozhe

微信登录无痕验证bug

parent d768de5a
......@@ -89,9 +89,9 @@ class App extends Component {
this.setNavigationRecord(location, action)
this.utm()
if (cookie.get('uid') && this.props.user.hasError) {
this.getUser()
}
// if (cookie.get('uid') && this.props.user.hasError) {
// this.getUser()
// }
if (location.pathname.startsWith('/passport')) {
window.localStorage.setItem(
'binding_redirect',
......@@ -340,7 +340,6 @@ class App extends Component {
})
}
setPreviousLocation = () => {
const {location} = this.props
let isInBlacklist = this.pathnameBlacklist.some(item => location.pathname.startsWith(item))
......
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