From 71eda6a3a84ddf210801f9dd25a4432c1c14e07c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 24 四月 2024 15:40:59 +0800 Subject: [PATCH] # --- src/core/warehouse.jsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/core/warehouse.jsx b/src/core/warehouse.jsx index f1bea49..e349492 100644 --- a/src/core/warehouse.jsx +++ b/src/core/warehouse.jsx @@ -17,8 +17,6 @@ const [agvData, setAgvData] = useState([ {} - , - {} ]); const [boxData, setBoxData] = useState([ {} @@ -28,7 +26,7 @@ const timer = setInterval(() => { const agvRealData = agvRealDataList[index]; if (agvRealData) { - // setAgvData(agvRealData); + setAgvData(agvRealData); } index++; }, INTERVAL_TIME * 1.1); -- Gitblit v1.9.1