mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复历史折线图开启条件样式报错的问题
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user