forked from github/dataease
fix(图表-地图): 修复地图空值处理隐藏空值时,图表无法正常显示的问题
This commit is contained in:
parent
456550a6bd
commit
df6cf70da4
@ -72,7 +72,7 @@ export abstract class L7PlotChartView<
|
||||
if (data[i].value === null) {
|
||||
data.splice(i, 1)
|
||||
}
|
||||
for (let j = data[i].dynamicTooltipValue?.length - 1; j >= 0; j--) {
|
||||
for (let j = data[i]?.dynamicTooltipValue?.length - 1; j >= 0; j--) {
|
||||
if (data[i].dynamicTooltipValue[j].value === null) {
|
||||
data[i].dynamicTooltipValue.splice(j, 1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user