From 825425c572258627ebfa95c7c95129b135f503d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Thu, 23 May 2019 02:28:00 +0800 Subject: [PATCH] fix login bug --- UserLogin/src/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UserLogin/src/index.tsx b/UserLogin/src/index.tsx index e79cd913..039ca94b 100644 --- a/UserLogin/src/index.tsx +++ b/UserLogin/src/index.tsx @@ -3,14 +3,14 @@ import { connect } from 'dva'; import { formatMessage, FormattedMessage } from 'umi-plugin-react/locale'; import Link from 'umi/link'; import { Checkbox, Alert, Icon } from 'antd'; -import Login from './components/Login'; +import LoginComponents from './components/Login'; import styles from './style.less'; import { Dispatch } from 'redux'; import { IStateType } from './model'; import { FormComponentProps } from 'antd/lib/form'; import { CheckboxChangeEvent } from 'antd/lib/checkbox'; -const { Tab, UserName, Password, Mobile, Captcha, Submit } = Login; +const { Tab, UserName, Password, Mobile, Captcha, Submit } = LoginComponents; interface PAGE_NAME_UPPER_CAMEL_CASEProps { dispatch: Dispatch; @@ -107,7 +107,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component< const { type, autoLogin } = this.state; return (
-
- + ); } -- GitLab