| | |
| | | initialValue: remember, |
| | | })(<Checkbox onChange={this.rememberChange}>{this.props.dict['login.remember']}</Checkbox>)} |
| | | </Form.Item> : null} */} |
| | | {/* <Form.Item className="minline right"> |
| | | {getFieldDecorator('system', { |
| | | initialValue: localStorage.getItem('bmsSystem') === 'new' ? 'new' : 'old', |
| | | })( |
| | | <Select getPopupContainer={() => document.getElementById('login-form')}> |
| | | <Select.Option key="old" value="old">原系统</Select.Option> |
| | | <Select.Option key="new" value="new">新系统</Select.Option> |
| | | </Select> |
| | | )} |
| | | </Form.Item> */} |
| | | {['uname_pwd', 'sms_vcode'].includes(activeKey) ? <Form.Item className="btn-login"> |
| | | <Button type="primary" htmlType="submit" className="login-form-button" disabled={this.props.isDisabled} loading={this.props.isDisabled}> |
| | | {this.props.dict['login.submit']} |