From 757ebcbdb3aa024793892a19606dff382ea3820e Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 27 十一月 2023 17:46:34 +0800 Subject: [PATCH] feat: 对接口 --- 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