style: 格式化

This commit is contained in:
wisonic 2024-10-19 23:06:38 +08:00
parent 2c941b7eb9
commit c28879b6ee

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