From 1b19d1f699c10de3a68907958fb05d8ed340e14f Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 20 Sep 2024 17:51:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AF=BC=E5=87=BA=E4=B8=AD=E5=BF=83=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E4=B8=A4=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/data-visualization/PreviewCanvas.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue index e88fcb6915..737432def4 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue @@ -4,7 +4,6 @@ import { nextTick, onMounted, reactive, ref } from 'vue' import DePreview from '@/components/data-visualization/canvas/DePreview.vue' import router from '@/router' import { useEmitt } from '@/hooks/web/useEmitt' -import ExportExcel from '@/views/visualized/data/dataset/ExportExcel.vue' import { initCanvasData } from '@/utils/canvasUtils' import { queryTargetVisualizationJumpInfo } from '@/api/visualization/linkJump' import { Base64 } from 'js-base64' @@ -148,12 +147,6 @@ const downloadH2 = type => { let p = null const XpackLoaded = () => p(true) onMounted(async () => { - useEmitt({ - name: 'data-export-center', - callback: function (params) { - ExportExcelRef.value.init(params) - } - }) useEmitt({ name: 'canvasDownload', callback: function () { @@ -173,7 +166,6 @@ onMounted(async () => { dvMainStore.setEmbeddedCallBack(callBackFlag || 'no') dvMainStore.setPublicLinkStatus(props.publicLinkStatus) }) -const ExportExcelRef = ref() defineExpose({ loadCanvasDataAsync @@ -199,7 +191,6 @@ defineExpose({ @loaded="XpackLoaded" @load-fail="XpackLoaded" /> -