Commit e959ba84 authored by jim's avatar jim

fix site error

parent 314c933b
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment