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 9d2cd4d504..855b2eade8 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -378,12 +378,6 @@ const showActive = computed(() => props.popActive || (dvMainStore.mobileInPc && :id="viewDemoInnerId" :style="componentBackgroundStyle" > - -
props.popActive || (dvMainStore.mobileInPc && @onPointClick="onPointClick" />
+ + diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index 55ff26fe9b..6c1eab82a4 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -53,7 +53,7 @@ diff --git a/core/core-frontend/src/custom-component/scroll-text/Component.vue b/core/core-frontend/src/custom-component/scroll-text/Component.vue index 11dbdf3829..ee4d676e14 100644 --- a/core/core-frontend/src/custom-component/scroll-text/Component.vue +++ b/core/core-frontend/src/custom-component/scroll-text/Component.vue @@ -109,10 +109,11 @@ const marqueeTxt = computed( ) const setEdit = () => { - if (element.value['isLock']) return - canEdit.value = true - // 全选 - selectText(text.value) + if (['canvas', 'canvasDataV', 'edit'].includes(showPosition.value) && !element.value['isLock']) { + canEdit.value = true + // 全选 + selectText(text.value) + } } const selectText = element => { const selection = window.getSelection()