From 7ef4c41cc3ab567195ed64127ed348905281aece Mon Sep 17 00:00:00 2001 From: wisonic Date: Sat, 14 Sep 2024 11:02:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=9C=AA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/views/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 243fac0b3c..6d790aca12 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -119,12 +119,13 @@ const props = defineProps({ const dynamicAreaId = ref('') const { view, showPosition, element, active, searchCount, scale } = toRefs(props) -const titleShow = computed( - () => - !['rich-text', 'Picture'].includes('rich-text') && +const titleShow = computed(() => { + return ( + !['rich-text', 'Picture'].includes(element.value.innerType) && state.title_show && showPosition.value !== 'viewDialog' -) + ) +}) const snapshotStore = snapshotStoreWithOut() const state = reactive({