diff --git a/core/core-frontend/src/components/visualization/CanvasOptBar.vue b/core/core-frontend/src/components/visualization/CanvasOptBar.vue index c14c9d9a47..04b81c8620 100644 --- a/core/core-frontend/src/components/visualization/CanvasOptBar.vue +++ b/core/core-frontend/src/components/visualization/CanvasOptBar.vue @@ -15,6 +15,7 @@ import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain' import { computed } from 'vue' import { isMainCanvas } from '@/utils/canvasUtils' +import { useEmitt } from '@/hooks/web/useEmitt' const dvMainStore = dvMainStoreWithOut() @@ -36,6 +37,7 @@ const props = defineProps({ const clearAllLinkage = () => { dvMainStore.clearPanelLinkageInfo() + useEmitt().emitter.emit('clearPanelLinkage', { viewId: 'all' }) } const dvEditMode = computed(() => { diff --git a/core/core-frontend/src/components/visualization/ComponentEditBar.vue b/core/core-frontend/src/components/visualization/ComponentEditBar.vue index 58de99e82a..65e3e8e5a4 100644 --- a/core/core-frontend/src/components/visualization/ComponentEditBar.vue +++ b/core/core-frontend/src/components/visualization/ComponentEditBar.vue @@ -479,6 +479,7 @@ const existLinkage = computed(() => { // 清除相同sourceViewId 的 联动条件 const clearLinkage = () => { dvMainStore.clearViewLinkage(element.value.id) + useEmitt().emitter.emit('clearPanelLinkage', { viewId: element.value.id }) } // 富文本-Begin diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue index e74fb4edcf..2509788371 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue @@ -1,5 +1,14 @@