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

---
 zy-acs-flow/src/map/insight/agv/useCoolHook.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/agv/useCoolHook.js b/zy-acs-flow/src/map/insight/agv/useCoolHook.js
index 263e831..9858a9c 100644
--- a/zy-acs-flow/src/map/insight/agv/useCoolHook.js
+++ b/zy-acs-flow/src/map/insight/agv/useCoolHook.js
@@ -22,6 +22,7 @@
                 })))
             } else {
                 console.error(msg);
+                setOptions([]);
             }
         } catch (error) {
             console.error(error.message);

--
Gitblit v1.9.1