fix(图表): 表格序号列提示为空

This commit is contained in:
wisonic 2024-07-29 16:14:58 +08:00
parent 75aff199a4
commit 19f0b87f3e

View File

@ -70,7 +70,7 @@ export abstract class S2ChartView<P extends SpreadSheet> extends AntVAbstractCha
switch (cell.cellType) {
case 'dataCell':
if (meta.valueField === SERIES_NUMBER_FIELD) {
content = meta.fieldValue
content = meta.fieldValue.toString()
break
}
field = find(metaConfig, item => item.field === meta.valueField)