@@ -94,7 +94,7 @@
// QRCode.toDataURL(location.origin + '/accompany/colexiu-report-share.html?id=' + (parseSearch.id || '') + '&musicId=' + (parseSearch.musicId || '') + '&client=web', { errorCorrectionLevel: 'H', width: 192 }, function (err, val) {
// console.log(val)
// document.getElementById('qrcode').setAttribute('src', val)
- html2canvas(document.body)
+ html2canvas(document.body, {allowTaint: true, useCORS: true,})
.then((canvas) => canvas.toDataURL())
.then(res => {
// console.log(res)