diff --git a/UserLogin/src/index.tsx b/UserLogin/src/index.tsx index e79cd913a41fa968d8ed5486d5e581f61c477163..039ca94b1c7c88b6f9fc218f1b1048fe90e314a6 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 (
-
- + ); }