fix(图表): 修复存量透视表行头边框颜色无效

This commit is contained in:
wisonic 2024-11-06 19:32:43 +08:00
parent 6ab818e256
commit f291e5df39

View File

@ -355,7 +355,7 @@ export class TablePivot extends S2ChartView<PivotSheet> {
}
let tableBorderColor = basicStyle.tableBorderColor
if (!isAlphaColor(tableBorderColor)) {
tableBorderColor = hexColorToRGBA(tableHeaderBgColor, basicStyle.alpha)
tableBorderColor = hexColorToRGBA(tableBorderColor, basicStyle.alpha)
}
const tableHeaderFontColor = hexColorToRGBA(tableHeader.tableHeaderFontColor, basicStyle.alpha)
const fontStyle = tableHeader.isItalic ? 'italic' : 'normal'