diff --git a/src/components/Login/index.js b/src/components/Login/index.js index 07016c3129dc81142c2ae5d28b4e4f2caaa35fc4..02aa80c264cc8e9f6d475c41e3b845b53d57f1e7 100644 --- a/src/components/Login/index.js +++ b/src/components/Login/index.js @@ -7,7 +7,6 @@ import LoginTab from './LoginTab'; import LoginSubmit from './LoginSubmit'; import styles from './index.less'; -@Form.create() class Login extends Component { static defaultProps = { className: '', @@ -119,4 +118,4 @@ Object.keys(LoginItem).forEach(item => { Login[item] = LoginItem[item]; }); -export default Login; +export default Form.create()(Login);