From b4a603e7e1c123195f5515aa7c3b247e1784fb76 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 24 一月 2024 14:53:00 +0800
Subject: [PATCH] 1

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

diff --git a/src/views/dashboard/components/ProcessingInfo.vue b/src/views/dashboard/components/ProcessingInfo.vue
index 2e8154f..ff2172b 100644
--- a/src/views/dashboard/components/ProcessingInfo.vue
+++ b/src/views/dashboard/components/ProcessingInfo.vue
@@ -99,11 +99,11 @@
   if (task?.value?.Procedure?.Status === 3) {
     return 100
   }
-  if (task?.value?.Procedure?.Status === 2 || task?.value?.Procedure?.Status === 1) {
-    return calculateProgress(plcStore.plcInfo as Statistics)
-  }
+  // if (task?.value?.Procedure?.Status === 2 || task?.value?.Procedure?.Status === 1) {
+  //   return calculateProgress(plcStore.plcInfo as Statistics)
+  // }
 
-  return 0
+  return calculateProgress(plcStore.plcInfo as Statistics)
 })
 
 /**

--
Gitblit v1.8.0