This commit is contained in:
yanran200730
2022-06-06 17:52:31 +08:00
parent 5dc3aff7a2
commit eaa1f38c40
2 changed files with 1 additions and 2 deletions

View File

@@ -243,8 +243,8 @@
}, },
save () { save () {
this.isHide = true
this.$loading() this.$loading()
this.isHide = true
this.$nextTick(() => { this.$nextTick(() => {
html2canvas(this.$refs.waterMarker, { html2canvas(this.$refs.waterMarker, {
allowTaint: true, allowTaint: true,

View File

@@ -128,7 +128,6 @@
} }
const height = this.$refs.report.offsetHeight - this.$refs.add.offsetHeight const height = this.$refs.report.offsetHeight - this.$refs.add.offsetHeight
return html2canvas(this.$refs.report, { return html2canvas(this.$refs.report, {
allowTaint: true, allowTaint: true,
useCORS: true, useCORS: true,