Merge pull request #13481 from dataease/pr@dev-v2@chart-linx-fix
fix(图表): 修复历史折线图开启条件样式报错的问题
This commit is contained in:
commit
aecbf20c54
@ -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