diff --git a/client/containers/Login/Login.js b/client/containers/Login/Login.js index 10a7ba67..fa7b596b 100644 --- a/client/containers/Login/Login.js +++ b/client/containers/Login/Login.js @@ -23,14 +23,14 @@ class Login extends Component {
{getFieldDecorator('userName', { - rules: [{ required: true, message: '请输入用户名!' }], + rules: [{ required: true, message: '请输入用户名!' }] })( } placeholder="Username" /> )} {getFieldDecorator('password', { - rules: [{ required: true, message: '请输入密码!' }], + rules: [{ required: true, message: '请输入密码!' }] })( } type="password" placeholder="Password" /> )} @@ -38,7 +38,7 @@ class Login extends Component { {getFieldDecorator('remember', { valuePropName: 'checked', - initialValue: true, + initialValue: true })( 记住密码 )} diff --git a/client/containers/Login/Login_container.js b/client/containers/Login/Login_container.js index 0a78386b..3b59a401 100644 --- a/client/containers/Login/Login_container.js +++ b/client/containers/Login/Login_container.js @@ -8,7 +8,7 @@ const increaseAction = { type: 'increase' } function mapStateToProps(state) { return { - per: '测试数据', + per: '测试数据' } } @@ -24,4 +24,3 @@ const App = connect( )(Login) export default App -