From b0f14528e49fcfb6d486bf1e920f0457cbac6049 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期六, 18 十一月 2023 14:32:43 +0800
Subject: [PATCH] 没有任务的时候如果plc有数据也需要显示百分比和老看板保持一致

---
 src/views/dashboard/components/ProcessingInfo.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/dashboard/components/ProcessingInfo.vue b/src/views/dashboard/components/ProcessingInfo.vue
index 2e8154f..155eb59 100644
--- a/src/views/dashboard/components/ProcessingInfo.vue
+++ b/src/views/dashboard/components/ProcessingInfo.vue
@@ -103,7 +103,7 @@
     return calculateProgress(plcStore.plcInfo as Statistics)
   }
 
-  return 0
+  return calculateProgress(plcStore.plcInfo as Statistics)
 })
 
 /**

--
Gitblit v1.8.0