style(chart) : 修复图标显示效果

- 自动计算高度的基数提高
This commit is contained in:
Huangzhe
2025-05-22 11:10:39 +08:00
parent f05757030c
commit 543bb101bd

View File

@@ -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;
}
});