From 596504d70c70eb4fa131b08028b38c9bb96cd2f5 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Mon, 29 Dec 2025 10:32:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(PePegChart):=20PEG=20=E4=B9=9F=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8D=95=E4=BD=8D"=E5=80=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Tooltip: PE 和 PEG 都显示单位"倍" - Y 轴: PEG 轴名称改为 "PEG(倍)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../components/ForecastReport/components/PePegChart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Company/components/ForecastReport/components/PePegChart.tsx b/src/views/Company/components/ForecastReport/components/PePegChart.tsx index 8434865a..d40a290a 100644 --- a/src/views/Company/components/ForecastReport/components/PePegChart.tsx +++ b/src/views/Company/components/ForecastReport/components/PePegChart.tsx @@ -31,7 +31,7 @@ const PePegChart: React.FC = ({ data }) => { `; params.forEach((item: any) => { - const unit = item.seriesName === 'PE' ? '倍' : ''; + const unit = '倍'; // PE 和 PEG 都是倍数单位 html += `
@@ -80,7 +80,7 @@ const PePegChart: React.FC = ({ data }) => { { ...BASE_CHART_CONFIG.yAxis, type: 'value', - name: 'PEG', + name: 'PEG(倍)', nameTextStyle: { color: CHART_COLORS.peg }, axisLine: { lineStyle: { color: CHART_COLORS.peg } }, axisLabel: { color: CHART_COLORS.peg },