From 6b027c18660b828ec7b57ad0e3f4ffca9f4d14d1 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 03 十一月 2023 15:15:24 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into wn

---
 src/stores/plc.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/stores/plc.ts b/src/stores/plc.ts
index 50e7926..b42f370 100644
--- a/src/stores/plc.ts
+++ b/src/stores/plc.ts
@@ -5,6 +5,7 @@
 import { useRequest } from 'vue-hooks-plus'
 import { useTasksStore } from '@/stores/tasks'
 import type { PLCResponse } from '@/api/plc'
+import { PLC_POLLING_DURATION } from '@/common/constants'
 
 // 鍏ㄥ眬 watcher ref 闃叉澶氭璋冪敤 usePLCStore 鏃堕噸澶嶆敞鍐屼睛鍚櫒
 const unwatch = ref()
@@ -31,7 +32,7 @@
       } as ProductProgressParams),
     {
       manual: true,
-      pollingInterval: 6000,
+      pollingInterval: PLC_POLLING_DURATION,
       pollingWhenHidden: false
     }
   )

--
Gitblit v1.8.0