From a753ccd93410e2c820a349700b7005db99245a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Thu, 4 Jun 2026 10:00:54 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4=E6=A0=B7=E5=BC=8F=20(#18267)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/views/index.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 381a3d3103..05b036c6d5 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -988,6 +988,18 @@ const marginBottom = computed(() => { const iconSize = computed(() => { return 16 * scale.value + 'px' }) + +/** + * 保证标题容器高度最小高度不低于图标高度 + */ +const titleContainerMinHeight = computed(() => { + if (['picture-group', 'rich-text'].includes(element.value.innerType)) { + return '0px' + } else if (!titleShow.value) { + return 16 * scale.value + 4 + 'px' + } + return 16 * scale.value + 'px' +}) /** * 修改透明度 * 边框透明度为0时会是存色,顾配置低透明度