fix(图表): 修复历史折线图开启条件样式报错的问题
This commit is contained in:
parent
1ec0d46cf2
commit
7564754b13
@ -1080,8 +1080,8 @@ export function getLineConditions(chart) {
|
||||
const { threshold } = parseJson(chart.senior)
|
||||
const conditions = []
|
||||
if (threshold.enable) {
|
||||
threshold.lineThreshold.forEach(item =>
|
||||
item.conditions.forEach(c =>
|
||||
threshold.lineThreshold?.forEach(item =>
|
||||
item.conditions?.forEach(c =>
|
||||
conditions.push({
|
||||
fieldId: item.fieldId,
|
||||
term: c.term,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user