mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 11:38:11 +08:00
fix(图表): 修复汇总表序列号斑马纹无效 (#15332)
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
S2Options,
|
||||
ScrollbarPositionType,
|
||||
TableColCell,
|
||||
TableDataCell,
|
||||
TableSheet,
|
||||
ViewMeta
|
||||
} from '@antv/s2'
|
||||
@@ -172,6 +173,9 @@ export class TableNormal extends S2ChartView<TableSheet> {
|
||||
col.value = indexLabel
|
||||
}
|
||||
}
|
||||
s2Options.dataCell = meta => {
|
||||
return new TableDataCell(meta, meta.spreadsheet)
|
||||
}
|
||||
}
|
||||
// tooltip
|
||||
this.configTooltip(chart, s2Options)
|
||||
|
||||
Reference in New Issue
Block a user