From a761e1224109400f005c75c52e3c14741268a994 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Tue, 8 Jul 2025 19:41:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E8=A1=A8title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/LineChart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },