From 01d079d2a3f5441219258bf66fdd4665e3b430b0 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Thu, 8 Jun 2023 18:48:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE-=E6=8F=90=E7=A4=BA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20echarts=20=E6=8F=90=E7=A4=BA=E8=A2=AB?= =?UTF-8?q?=E9=81=AE=E6=8C=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/ChartComponent.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/views/chart/components/ChartComponent.vue b/frontend/src/views/chart/components/ChartComponent.vue index a591aad8c0..12bef864e0 100644 --- a/frontend/src/views/chart/components/ChartComponent.vue +++ b/frontend/src/views/chart/components/ChartComponent.vue @@ -396,6 +396,9 @@ export default { chart_option.legend['pageIconInactiveColor'] = '#8c8c8c' } } + if (chart_option.tooltip) { + chart_option.tooltip.appendToBody = true + } this.myEcharts(chart_option) this.$nextTick(() => (this.linkageActive())) },