From b53c33564d15b27f0c829e2020ed93de341cf311 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 26 Oct 2020 10:18:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9asset=20chart=20p?= =?UTF-8?q?ie=E7=9A=84=E6=98=BE=E7=A4=BA=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/dashboard/overview/overview2.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue index e47f87841..72b499e8b 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue @@ -449,7 +449,7 @@ if(typeSeriesData.length===0 || !vm.assetData.typeStat || vm.assetData.typeStat.length == 0) { legend.show=false; } - this.assetData.typeStat && this.assetData.typeStat.length === 0 && this.$refs.assetTypePie.setSeries(series, legend, legendData); + this.assetData.typeStat && this.assetData.typeStat.length !== 0 && this.$refs.assetTypePie.setSeries(series, legend, legendData); this.$refs.assetTypePie.endLoading(); } resolve()