fix:singlestat 类型图表nodata显示异常处理

This commit is contained in:
wangwenrui
2020-06-29 17:56:19 +08:00
parent 847859df0e
commit 4cde14005e

View File

@@ -395,7 +395,7 @@ export default {
this.isError = false; this.isError = false;
this.errorContent = ''; this.errorContent = '';
} }
if(seriesItem||seriesItem == 0){ //0 为false if(seriesItem||seriesItem == 0 && seriesItem !=''){ //0 为false
this.noData=false; this.noData=false;
}else{ }else{
this.noData=true; this.noData=true;