Commit 7b2a9b23 authored by 王万里's avatar 王万里

feat: 易县登录

parent f7200cc6
......@@ -5,24 +5,24 @@ import { Helmet, HelmetProvider } from 'react-helmet-async';
import { connect } from 'react-redux';
import { useHistory, withRouter } from '@wisdom-utils/runtime';
import { actionCreators } from '@/containers/App/store';
import QRCode from 'qrcode.react';
import classnames from 'classnames';
import moment from 'moment';
import defaultSetting from '../../../../../../../config/defaultSetting';
import LoginAction from '../../../login';
import styles from './index.less';
import Account from '../../../js/useAccount';
import { defaultApp } from '../../../../../../micro';
import logoPng from './images/7.png'
import qrcodePng from './images/1.png'
import QRCode from 'qrcode.react';
import classnames from 'classnames';
import moment from 'moment';
import logoPng from './images/7.png';
import qrcodePng from './images/1.png';
const PopOvercontent = () =>{
const PopOvercontent = () => {
const qrcodes = window.globalConfig && window.globalConfig.qrcode;
if (qrcodes) {
return <QRCode value={qrcodes}/>;
return <QRCode value={qrcodes} />;
}
return <span>手持APP下载未配置</span>;
}
};
const Login = forwardRef((props, _ref) => {
const sliVerify = useRef();
......@@ -36,7 +36,7 @@ const Login = forwardRef((props, _ref) => {
const [visible, setVisible] = useState(false);
const history = useHistory();
const [action, setAction] = useState(() => new LoginAction(Object.assign({}, props, { history }), setVisible, false));
const [dateObj, setDateObj] = useState({})
const [dateObj, setDateObj] = useState({});
const handleSubmit = values => {
/* eslint-disable */
......
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