From eaa1f38c40970475f4ec89465f483b0b2a4c5742 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 6 Jun 2022 17:52:31 +0800 Subject: [PATCH] bug --- src/saas/AppCountryAlbum/Watermark.vue | 2 +- src/saas/AppCountryAlbum/components/report/Daily.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/saas/AppCountryAlbum/Watermark.vue b/src/saas/AppCountryAlbum/Watermark.vue index f6fd3935..36c6e46e 100644 --- a/src/saas/AppCountryAlbum/Watermark.vue +++ b/src/saas/AppCountryAlbum/Watermark.vue @@ -243,8 +243,8 @@ }, save () { - this.isHide = true this.$loading() + this.isHide = true this.$nextTick(() => { html2canvas(this.$refs.waterMarker, { allowTaint: true, diff --git a/src/saas/AppCountryAlbum/components/report/Daily.vue b/src/saas/AppCountryAlbum/components/report/Daily.vue index d55ab428..49c5d985 100644 --- a/src/saas/AppCountryAlbum/components/report/Daily.vue +++ b/src/saas/AppCountryAlbum/components/report/Daily.vue @@ -128,7 +128,6 @@ } const height = this.$refs.report.offsetHeight - this.$refs.add.offsetHeight - return html2canvas(this.$refs.report, { allowTaint: true, useCORS: true,