From 543bb101bd78f38ca8e9e9ec6889f7efa831e9ba Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Thu, 22 May 2025 11:10:39 +0800 Subject: [PATCH] =?UTF-8?q?style(chart)=20:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 自动计算高度的基数提高 --- src/components/Analysis/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Analysis/Index.vue b/src/components/Analysis/Index.vue index cb83b6c..9433f35 100644 --- a/src/components/Analysis/Index.vue +++ b/src/components/Analysis/Index.vue @@ -23,7 +23,7 @@ const chartHeight = computed(() => { // 做一些额外的检测, 如果 option 下面的title 字段超过 8 个,就把 addHeight 增加 analysis.value?.option?.forEach((item: any) => { if (item.title?.length > 8) { - addHeight += 5; + addHeight += 9; } });