Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c1c8f35296
|
@ -271,12 +271,14 @@ export default {
|
||||||
let reset = this.exportReportReset;
|
let reset = this.exportReportReset;
|
||||||
|
|
||||||
this.$nextTick(function () {
|
this.$nextTick(function () {
|
||||||
html2canvas(document.getElementById('performanceReportExport'), {
|
setTimeout(() => {
|
||||||
scale: 2
|
html2canvas(document.getElementById('performanceReportExport'), {
|
||||||
}).then(function (canvas) {
|
scale: 2
|
||||||
exportPdf(name, [canvas]);
|
}).then(function (canvas) {
|
||||||
reset();
|
exportPdf(name, [canvas]);
|
||||||
});
|
reset();
|
||||||
|
});
|
||||||
|
}, 1000);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
exportReportReset() {
|
exportReportReset() {
|
||||||
|
|
Loading…
Reference in New Issue