From ba30551cd2c2a328bea757aba682897dab76e0d4 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 29 Aug 2024 09:47:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dtable=E8=A1=A8=E6=A0=BC=E6=94=BE=E5=A4=A7=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=97=B6=E4=B8=8A=E4=B8=8B=E6=B2=A1=E6=9C=89=E5=85=85?= =?UTF-8?q?=E6=BB=A1=E6=95=B4=E4=B8=AA=E5=9B=BE=E7=89=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/visualization/UserViewEnlarge.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue index 71fb0f6663..53bf7007c3 100644 --- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue +++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue @@ -369,6 +369,7 @@ const openMessageLoading = cb => { const htmlToImage = () => { downLoading.value = true useEmitt().emitter.emit('renderChart-' + viewInfo.value.id) + const renderTime = viewInfo.value.type?.includes('table') ? 2000 : 500 setTimeout(() => { initWatermark() toPng(viewContainer.value) @@ -387,7 +388,7 @@ const htmlToImage = () => { useEmitt().emitter.emit('renderChart-' + viewInfo.value.id) console.error('oops, something went wrong!', error) }) - }, 500) + }, renderTime) } const initWatermark = () => {