From da462d6d0874a7171347d983df9f5366a009a4b2 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期二, 06 九月 2022 16:01:04 +0800 Subject: [PATCH] bug --- src/views/riskWarningSys/warningBigScreen/components/SPI.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/riskWarningSys/warningBigScreen/components/SPI.vue b/src/views/riskWarningSys/warningBigScreen/components/SPI.vue index b897098..f148306 100644 --- a/src/views/riskWarningSys/warningBigScreen/components/SPI.vue +++ b/src/views/riskWarningSys/warningBigScreen/components/SPI.vue @@ -53,6 +53,9 @@ fontSize: fontSize(12) } }, + tooltip: { + trigger: 'axis' + }, grid: { left: '4%', right: '4%', @@ -194,6 +197,7 @@ name: 'SPI预警指数值', data: [450, 632, 501, 434, 390, 530, 520,750, 632, 401, 634, 590], type: 'line', + triggerLineEvent: true, label:{ show: true, color: '#fff', -- Gitblit v1.9.2