From c28879b6ee2d4bd7e69667d0a32840adc1de10ad Mon Sep 17 00:00:00 2001 From: wisonic Date: Sat, 19 Oct 2024 23:06:38 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/views/components/ChartComponentS2.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index 717d32c7b9..b2a5f6a58d 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -259,7 +259,9 @@ const initScroll = () => { } const rowHeight = customAttr.tableCell.tableItemHeight const headerHeight = - customAttr.tableHeader.showTableHeader === false ? 1 : customAttr.tableHeader.tableTitleHeight + customAttr.tableHeader.showTableHeader === false + ? 1 + : customAttr.tableHeader.tableTitleHeight const scrollBarSize = myChart.theme.scrollBar.size const scrollHeight = rowHeight * chartData.value.tableRow.length + headerHeight - offsetHeight + scrollBarSize