From aa7c407f9fd88227f057cf6c5b371bc040b63a15 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 14:06:12 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hrmSalary/pages/reportView/components/condition.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/reportView/components/condition.js b/pc4mobx/hrmSalary/pages/reportView/components/condition.js index 5b38c364..c8422666 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/condition.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/condition.js @@ -401,8 +401,15 @@ export const mapPieOptions = (params) => ({ data: _.map(item.data, (it) => ({ ...it, value: it.value.replace(/,/g, "") })), type: "pie", radius: "60%", - avoidLabelOverlap: false, + avoidLabelOverlap: true, animation: false, + labelLine: { + show: true, + normal: { + length: 5, + align: "center" + } + }, itemStyle: { normal: { color: function (colors) {