From e959ba841f2f5f1805f0bbccb1115381cbd39834 Mon Sep 17 00:00:00 2001 From: jim Date: Sun, 8 Apr 2018 16:40:02 +0800 Subject: [PATCH] fix site error --- src/components/Login/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Login/index.js b/src/components/Login/index.js index 07016c31..02aa80c2 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); -- GitLab