fix:任务进度legend颜色异常问题

This commit is contained in:
shijing 2024-09-19 17:27:36 +08:00
parent c92cbbdcec
commit 0fc3670bce
1 changed files with 1 additions and 1 deletions

View File

@ -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{