diff --git a/src/components/home/LineChart.vue b/src/components/home/LineChart.vue index c26b629..6320652 100644 --- a/src/components/home/LineChart.vue +++ b/src/components/home/LineChart.vue @@ -25,7 +25,7 @@ watch( } const option = { title: { - text: (titles[newValue?.type || ''] || '') + (newValue?.id || ''), + text: (titles[newValue?.type || ''] || '') + (newValue.type !== 'Internal' ? newValue?.id || '' : ''), left: 'center', // 水平居中 top: 0, },