fix(图表): 修复进度条条件样式小于/小于等于/介于条件未生效的问题

This commit is contained in:
jianneng-fit2cloud
2025-01-08 21:57:43 +08:00
committed by jianneng-fit2cloud
parent bdb23313b6
commit a0ab963c90

View File

@@ -1717,7 +1717,7 @@ export const addConditionsStyleColorToData = (chart: Chart, options) => {
// 定义后,在 handleConditionsStyle 函数中使用
let currentValue = item[valueField]
if (chart.type === 'progress-bar') {
currentValue = item['progress']
currentValue = item['originalValue']
}
const cColor = getColorByConditions([q], currentValue, chart)
if (cColor) {