From 0fc3670bce49fc41be82a49d074194bec04ef67d Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 19 Sep 2024 17:27:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=BB=E5=8A=A1=E8=BF=9B=E5=BA=A6legend?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/task_rate_gx.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/statistics/task_rate_gx.vue b/src/views/statistics/task_rate_gx.vue index 10a11721..5447159c 100644 --- a/src/views/statistics/task_rate_gx.vue +++ b/src/views/statistics/task_rate_gx.vue @@ -698,7 +698,7 @@ export default { }); count_diff = count_jh - count_ok; option.series.data[0].value = count_ok; - option.series.data[1].value = count_diff; + option.series.data[1].value = count_diff>0?count_diff:0; let chartId = 'linechart'+mgroup_index; that.setChart(chartId, option); }else{