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