From 309602ad39aa3d0c0429fcc802e2a730cf783b0b Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 23 May 2024 15:52:13 +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=8DTab=E7=BB=84=E4=BB=B6=E4=BB=85=E5=88=87=E6=8D=A2tab?= =?UTF-8?q?=E9=A1=B5=E5=AF=BC=E8=87=B4=E4=BF=9D=E5=AD=98=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=AB=98=E4=BA=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/canvas/DeCanvas.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/canvas/DeCanvas.vue b/core/core-frontend/src/views/canvas/DeCanvas.vue index bdf1b401e2..ecaeb083cc 100644 --- a/core/core-frontend/src/views/canvas/DeCanvas.vue +++ b/core/core-frontend/src/views/canvas/DeCanvas.vue @@ -138,7 +138,9 @@ const canvasInit = (isFistLoad = true) => { } // afterInit dvMainStore.setDataPrepareState(true) - isFistLoad && snapshotStore.recordSnapshotCache('renderChart') + if (isMainCanvas(canvasId.value.id) && isFistLoad) { + snapshotStore.recordSnapshotCache('renderChart') + } }, 500) }