From 7f8926b5d6f970e6adeb91c835ead086b08955cc Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 12 Apr 2024 11:12:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=9C=86=E8=A7=92=E5=B1=9E=E6=80=A7=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E5=9B=BE=E7=89=87=E7=AD=89=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/data-visualization/canvas/ComponentWrapper.vue | 3 +++ .../src/components/data-visualization/canvas/Shape.vue | 3 +++ 2 files changed, 6 insertions(+) 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 7129eb5913..c9787b69d3 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -154,6 +154,9 @@ const componentBackgroundStyle = computed(() => { } else { style['background-color'] = colorRGBA } + if (element.value.component !== 'UserView') { + style['overflow'] = 'hidden' + } return style } return {} 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 5acb5f7b73..d35f8a7278 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -789,6 +789,9 @@ const componentBackgroundStyle = computed(() => { } else { style['background-color'] = colorRGBA } + if (element.value.component !== 'UserView') { + style['overflow'] = 'hidden' + } return style } return {}