Commit 9ff0976e by FE

add console.log

parent c70d8975
......@@ -68,6 +68,7 @@ class Passport extends Component {
let {history} = this.props
let {data} = this.props.user
if (data && Object.values(data).filter(item => !!item).length) {
console.log(history);
(history.action === 'POP' && history.length <= 3) ? history.push('/') : history.go(-1)
}
}
......
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