xy 2 years ago
parent 077627b8f9
commit c2eae0a5d8

@ -1,6 +1,6 @@
module.exports = {
title: '无锡交通产业集团资产管理平台',
//无锡交通产业集团
title: '资产管理平台',
/**
* @type {boolean} true | false

@ -522,7 +522,13 @@ export default {
}
const dom = document.querySelector('.print-content')
html2canvas(dom,{
useCORS: true
useCORS: true,
ignoreElements:ele => {
const ignoreIds = ['detail-pictures']
if (ignoreIds.indexOf(ele.id) !== -1) {
return true
}
}
}).then(canvas => {
const img = new Image();
img.src = canvas.toDataURL('image/png');

Loading…
Cancel
Save