| | |
| | | ] |
| | | })(<Input.Password onPressEnter={(e) => {this.handleSubmit(e, 'username')}} placeholder={this.state.dict['login.password']} prefix={<LockOutlined style={{ color: 'rgba(0,0,0,.25)' }} />} />)} |
| | | </Form.Item> |
| | | <Form.Item style={{marginBottom: '10px'}}> |
| | | {window.GLOB.keepKey ? <Form.Item style={{marginBottom: '10px'}}> |
| | | {getFieldDecorator('remember', { |
| | | valuePropName: 'checked', |
| | | initialValue: remember, |
| | | })( |
| | | <Checkbox onChange={this.rememberChange}>记住密码</Checkbox>)} |
| | | </Form.Item> |
| | | </Form.Item> : <div style={{height: '20px'}}></div>} |
| | | </Form> |
| | | ) |
| | | } |