Merge pull request #12786 from dataease/pr@dev-v2@style_chart

style: 格式化
This commit is contained in:
wisonic-s 2024-10-19 23:08:01 +08:00 committed by GitHub
commit f97eb3c1d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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