diff --git a/web/client/src/sections/projectRegime/containers/qrCode.js b/web/client/src/sections/projectRegime/containers/qrCode.js index daef739..c69edea 100644 --- a/web/client/src/sections/projectRegime/containers/qrCode.js +++ b/web/client/src/sections/projectRegime/containers/qrCode.js @@ -7,6 +7,7 @@ import ProjectAddModel from '../components/projectAddModel' import { Model } from 'echarts'; import { login } from '../../auth/actions/auth'; import { createCanvas, loadImage, registerFont } from 'canvas' +import { dataURItoBlob } from 'react-jsonschema-form/lib/utils'; const QrCode = (props) => { @@ -91,60 +92,11 @@ const QrCode = (props) => { width: 260, height: 60, background: '#e1d4d42e', display: 'flex', justifyContent: 'center', alignItems: 'center', borderTop: '1px solid #3c383824' }}> - {/* 下载二维码 - {/* */} +