forked from github/dataease
Merge pull request #13184 from dataease/pr@dev-v2@fix_pivot_row_hrader_border
fix(图表): 修复透视表行头边框颜色不生效
This commit is contained in:
commit
6ab818e256
@ -353,7 +353,10 @@ export class TablePivot extends S2ChartView<PivotSheet> {
|
||||
if (!isAlphaColor(tableHeaderBgColor)) {
|
||||
tableHeaderBgColor = hexColorToRGBA(tableHeaderBgColor, basicStyle.alpha)
|
||||
}
|
||||
const tableBorderColor = hexColorToRGBA(basicStyle.tableBorderColor, basicStyle.alpha)
|
||||
let tableBorderColor = basicStyle.tableBorderColor
|
||||
if (!isAlphaColor(tableBorderColor)) {
|
||||
tableBorderColor = hexColorToRGBA(tableHeaderBgColor, basicStyle.alpha)
|
||||
}
|
||||
const tableHeaderFontColor = hexColorToRGBA(tableHeader.tableHeaderFontColor, basicStyle.alpha)
|
||||
const fontStyle = tableHeader.isItalic ? 'italic' : 'normal'
|
||||
const fontWeight = tableHeader.isBolder === false ? 'normal' : 'bold'
|
||||
|
Loading…
Reference in New Issue
Block a user