From ef36ff2560259f38f80ffa10abaa52490fc84138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B8=80=E6=98=8E?= Date: Tue, 2 Jul 2019 14:04:53 +0800 Subject: [PATCH] fix-style --- src/components/account/LoginForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/account/LoginForm.jsx b/src/components/account/LoginForm.jsx index 7968bbd..f79b61b 100644 --- a/src/components/account/LoginForm.jsx +++ b/src/components/account/LoginForm.jsx @@ -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('/') // 跳转到用户面板 })