fix: 当 {{}} 变量替换没有查找到对应变量时,显示空字符串

This commit is contained in:
方顺健
2022-04-07 09:48:31 +00:00
parent fd96a0fbe1
commit fd750b86f9

View File

@@ -208,7 +208,7 @@ export default {
value = chartDataFormat.getUnit(column.unit ? column.unit : 2).compute(value, null, -1, 2)
}
}
return value || label
return value || ''
})
obj[column.title + 'display'] = labelValue
} else {