From 0cccb4de7fa9a29612fba422e3c4f72d57d1451d Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Mon, 12 Oct 2020 18:26:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=90=8E=EF=BC=8Clegend=E4=BE=9D=E7=84=B6?= =?UTF-8?q?=E4=B8=BA=E7=81=B0=E8=89=B2=E7=8A=B6=E6=80=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/line-chart-block.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nezha-fronted/src/components/charts/line-chart-block.vue b/nezha-fronted/src/components/charts/line-chart-block.vue index e4c8d330e..6ebe45894 100644 --- a/nezha-fronted/src/components/charts/line-chart-block.vue +++ b/nezha-fronted/src/components/charts/line-chart-block.vue @@ -763,6 +763,7 @@ if (chartSite === 'local') { // 本地显示 if(legend){ this.legendList = []; + this.isGrey=[]; legend.forEach((item, i) => { const legend = { name:item.name, @@ -880,6 +881,7 @@ // eslint-disable-next-line if(legend){ this.screenLegendList = []; + this.isGreyScreen=[] legend.forEach((item, i) => { const legend = { name:item.name,