From 26bf8ded0d5bf10929f4638bd4b299793b4160ed Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 10 Jun 2026 10:07:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20DeTabs=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8EUserView=E7=BB=9F=E4=B8=80=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/data-visualization/canvas/ComponentWrapper.vue | 2 +- .../src/components/data-visualization/canvas/Shape.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 020f00dc22..3a74ddc7bb 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -316,7 +316,7 @@ const componentBackgroundStyle = computed(() => { } else { style['background-color'] = colorRGBA } - if (config.value.component !== 'UserView') { + if (!['DeTabs', 'UserView'].includes(config.value.component)) { style['overflow'] = 'hidden' } if (backdropFilterEnable) { 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 05d217fdf7..38eb8f77e5 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -1000,7 +1000,7 @@ const componentBackgroundStyle = computed(() => { if (element.value.commonBackground && element.value.component !== 'GroupArea') { return getComponentBackgroundStyle(element.value.commonBackground, { scale: scale.value, - isUserView: element.value.component === 'UserView', + isUserView: ['DeTabs', 'UserView'].includes(element.value.component), forceNoPadding: ['Group'].includes(element.value.component) }) }