From e08ba046575e177d12c8adace3a432dd5480b27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 16 May 2023 09:00:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81-=E8=96=AA=E9=85=AC=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=88=86=E6=9E=90=E9=A1=B5=E9=9D=A2=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/reportView/components/condition.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/reportView/components/condition.js b/pc4mobx/hrmSalary/pages/reportView/components/condition.js index 5aafca6c..5b38c364 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/condition.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/condition.js @@ -247,9 +247,6 @@ export const mapBarOptions = (params) => ({ normal: { color: function (params) { return colorList[params.seriesIndex] || colorList[Math.floor((Math.random() * colorList.length))]; - }, - lineStyle: { - color: colorList[index] || colorList[Math.floor((Math.random() * colorList.length))] } } }, @@ -262,7 +259,7 @@ export const mapBarOptions = (params) => ({ rotate: "90", formatter: function (params) { if (parseInt(params.value) === 0) { - return `${format_with_regex(params.value)} ${params.seriesName}`; + return ``; } else { return [ `{a|${format_with_regex(params.value)}} {b|${params.seriesName}}`