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) }