| | |
| | | import { is, fromJS } from 'immutable' |
| | | import { Form, Icon, Input, Button, Checkbox } from 'antd' |
| | | |
| | | import asyncElementComponent from '@/utils/asyncComponent' |
| | | import MKEmitter from '@/utils/events.js' |
| | | import './index.scss' |
| | | |
| | | const QrCode = asyncElementComponent(() => import('@/components/qrcode')) |
| | | |
| | | class LoginTabForm extends Component { |
| | | static propTpyes = { |
| | |
| | | _loginWays.push(item) |
| | | } |
| | | }) |
| | | |
| | | console.log(nextProps.wrap) |
| | | console.log(loginWays) |
| | | console.log(_loginWays) |
| | | this.setState({ |
| | | loginWays: _loginWays, |
| | | activeWay: _loginWays[0], |
| | |
| | | </Button> |
| | | </Form.Item> |
| | | </div> : null} |
| | | {activeWay.type === 'app_scan' ? <div className="form-scan-wrap"> |
| | | <div className="qr-wrap"> |
| | | <QrCode card={{qrWidth: 500, color: '#000000'}} value={'minkesoft'}/> |
| | | </div> |
| | | 请使用客户端扫一扫登录 |
| | | </div> : null} |
| | | </Form> |
| | | ) |
| | | } |