From 196ad66f41fe77fff13b15b05095dc7661251a5d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 18 十月 2024 13:27:28 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/agv/AgvMain.jsx |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/agv/AgvMain.jsx b/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
index 128380a..f507cd5 100644
--- a/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
+++ b/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
@@ -110,6 +110,10 @@
         return endThree;
     }, [info]);
 
+    const handleReset = () => {
+        alert(1)
+    }
+
     return (
         <Box display="flex" height="100%">
             <Box
@@ -178,7 +182,7 @@
                                     color="primary"
                                     variant="contained"
                                     onConfirm={() => {
-                                        alert(1)
+                                        handleReset();
                                     }}
                                 />
                                 {info && (
@@ -200,8 +204,6 @@
 }
 
 const KeyValuePair = ({ label, value, bool }) => {
-    console.log({ label, value, bool });
-
     return (
         <>
             <Stack direction="row" alignItems="center" spacing={1} sx={{ mb: 1 }}>

--
Gitblit v1.9.1