From 126a0782057535ca59430fa0e250efcd10a055b9 Mon Sep 17 00:00:00 2001 From: zyh Date: Mon, 16 Oct 2023 14:46:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix=EF=BC=9Aselect=20series=E6=82=AC?= =?UTF-8?q?=E6=B5=AE=E6=A1=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/css/components/chart/chart.scss | 4 +- .../chart/chart/chartTimeSeries.vue | 63 ++++++------------- .../chart/chart/options/chartTimeSeries.js | 3 +- .../page/dashboard/overview/chart.vue | 60 ++++++------------ .../page/dashboard/overview/chartConfig.vue | 5 +- 5 files changed, 46 insertions(+), 89 deletions(-) diff --git a/nezha-fronted/src/assets/css/components/chart/chart.scss b/nezha-fronted/src/assets/css/components/chart/chart.scss index ca53c8ce5..768f97f94 100644 --- a/nezha-fronted/src/assets/css/components/chart/chart.scss +++ b/nezha-fronted/src/assets/css/components/chart/chart.scss @@ -683,10 +683,10 @@ } } -.chart-dataLink-tooltip{ +.chart-toolbox{ position: absolute !important; padding-bottom: 2px !important; - z-index: 999999999; + z-index: 9999; pointer-events: auto; .chart-dataLink-list{ width: calc(100% + 20px); diff --git a/nezha-fronted/src/components/chart/chart/chartTimeSeries.vue b/nezha-fronted/src/components/chart/chart/chartTimeSeries.vue index d5988eb11..3c582e027 100644 --- a/nezha-fronted/src/components/chart/chart/chartTimeSeries.vue +++ b/nezha-fronted/src/components/chart/chart/chartTimeSeries.vue @@ -22,9 +22,9 @@ :series="series" :is-fullscreen="isFullscreen" > -
-
-