From a0ab963c90054339c46ed098ac71eec073e31b93 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 8 Jan 2025 21:57:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1=E6=9D=A1=E4=BB=B6=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=B0=8F=E4=BA=8E/=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E/?= =?UTF-8?q?=E4=BB=8B=E4=BA=8E=E6=9D=A1=E4=BB=B6=E6=9C=AA=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index a5f95b184d..246bea7ea0 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -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) {