diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue
index 170049f462..615e39a033 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue
@@ -268,8 +268,6 @@ const onWrapperClick = e => {
useEmitt().emitter.emit('componentRefresh')
} else if (config.value.events.type === 'fullScreen') {
useEmitt().emitter.emit('canvasFullscreen')
- } else if (config.value.events.type === 'share') {
- useEmitt().emitter.emit('shareComponent')
} else if (config.value.events.type === 'download') {
useEmitt().emitter.emit('canvasDownload')
}
diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
index 461216b749..8af776980a 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
@@ -18,14 +18,12 @@ import CanvasFilterBtn from '@/custom-component/canvas-filter-btn/Component.vue'
import { useEmitt } from '@/hooks/web/useEmitt'
import DatasetParamsComponent from '@/components/visualization/DatasetParamsComponent.vue'
import DeFullscreen from '@/components/visualization/common/DeFullscreen.vue'
-import ShareHandler from '@/views/share/share/ShareHandler.vue'
const dvMainStore = dvMainStoreWithOut()
const { pcMatrixCount, curComponent, mobileInPc, canvasState } = storeToRefs(dvMainStore)
const openHandler = ref(null)
const customDatasetParamsRef = ref(null)
const emits = defineEmits(['onResetLayout'])
const fullScreeRef = ref(null)
-const shareComponent = ref(null)
const props = defineProps({
canvasStyleData: {
type: Object,
@@ -201,15 +199,6 @@ useEmitt({
}
})
-useEmitt({
- name: 'shareComponent',
- callback: function () {
- if (isMainCanvas(canvasId.value)) {
- shareComponent.value.execute()
- }
- }
-})
-
const resetLayout = () => {
if (downloadStatus.value) {
return
@@ -454,12 +443,6 @@ defineExpose({
-