fix-style

pull/89/head
张一明 6 years ago
parent a62221f4d1
commit ef36ff2560

@ -71,7 +71,7 @@ class LoginForm extends Component {
let { location, history, onLogin } = this.props
e.preventDefault()
onLogin(this.state, () => {
let { pathname, search} = location
let {pathname, search} = location
if (pathname !== '/account/login') history.push(pathname + search) //
else history.push('/') //
})

Loading…
Cancel
Save