From 4cde14005ee7f2670843ea378d1360f0f04f43d9 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Mon, 29 Jun 2020 17:56:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:singlestat=20=E7=B1=BB=E5=9E=8B=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8nodata=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-single-stat.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/charts/chart-single-stat.vue b/nezha-fronted/src/components/charts/chart-single-stat.vue index 6635f16f4..756d16f8d 100644 --- a/nezha-fronted/src/components/charts/chart-single-stat.vue +++ b/nezha-fronted/src/components/charts/chart-single-stat.vue @@ -395,7 +395,7 @@ export default { this.isError = false; this.errorContent = ''; } - if(seriesItem||seriesItem == 0){ //0 为false + if(seriesItem||seriesItem == 0 && seriesItem !=''){ //0 为false this.noData=false; }else{ this.noData=true;