diff --git a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue index f1ae0d1901..d905e3878a 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue @@ -76,7 +76,7 @@ const loadCanvasDataAsync = async (dvId, dvType) => { const attachParamsEncode = router.currentRoute.value.query.attachParams if (attachParamsEncode || hasTicketArgs) { try { - if (attachParam) { + if (!attachParam) { attachParam = JSON.parse(Base64.decode(decodeURIComponent(attachParamsEncode))) } if (hasTicketArgs) {