From 8a69413c448d1cbaec308f36e820ea765cd9cd35 Mon Sep 17 00:00:00 2001 From: qiwei Date: Thu, 23 Nov 2023 16:28:09 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E7=AB=8B=E4=BD=93?= =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=E8=AE=BE=E7=BD=AE=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88=20review=20by=20luox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/chart/ChartMixin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/chart/ChartMixin.vue b/src/common/chart/ChartMixin.vue index 2c6da6f8..a858585c 100644 --- a/src/common/chart/ChartMixin.vue +++ b/src/common/chart/ChartMixin.vue @@ -815,7 +815,7 @@ export default { return (params, api) => { seriesSpace = !parallelShow ? 0 : seriesSpace; const location = api.coord([api.value(0), api.value(1)]); - let fillColor = (!colorIndex && defaultColor) ? defaultColor : colorGroup[colorIndex]; + let fillColor = defaultColor || colorGroup[colorIndex]; if (_this.highlightOptions && _this.highlightOptions.length > 0) { const matchData = _this.highlightOptions.find( item => item.seriesIndex.includes(params.seriesIndex) && item.dataIndex === params.dataIndex