From f761c248936a1416e8d147dff82497e023d8d902 Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Thu, 7 May 2026 16:37:24 +0800 Subject: [PATCH] 1 --- src/layout/FullOther/HomeContent.js | 2 +- src/layout/FullOther/RiskControl.js | 4 ++-- src/layout/FullOther/TrainingContent.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layout/FullOther/HomeContent.js b/src/layout/FullOther/HomeContent.js index 96afd16..b49b45c 100644 --- a/src/layout/FullOther/HomeContent.js +++ b/src/layout/FullOther/HomeContent.js @@ -92,7 +92,7 @@ class HomeContent extends React.Component { label: { show: true, position: 'inside', - formatter: '{a|{b}:{c}}{e|({d}%)}\n', + formatter: '{a|{b}:{c}}\n\n\n{e|({d}%)}', // 添加 \n 换行符 color: '#000', textBorderWidth: 0, rich: { diff --git a/src/layout/FullOther/RiskControl.js b/src/layout/FullOther/RiskControl.js index a8232aa..0667af8 100644 --- a/src/layout/FullOther/RiskControl.js +++ b/src/layout/FullOther/RiskControl.js @@ -404,7 +404,7 @@ class RiskControl extends React.Component { lowTotal: riskList.reduce((sum, item) => sum + (item.lowCount || 0), 0), totalAll: riskList.reduce((sum, item) => sum + (item.totalCount || 0), 0), }; - const scrollConfig = columns.length > 10 ? { x: columns.length * 100, y: 380 } : {}; + const scrollConfig = columns.length > 10 ? { x: columns.length * 100, y: 360 } : { y: 360 }; return (
各家公司的风险统计情况
-
+
10 ? { x: columns.length * 100, y: 380 } : {}; + const scrollConfig = columns.length > 10 ? { x: columns.length * 100, y: 380 } : { y: 380 }; return (