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}}`