From 8c7e8d53afc8d652d94bc1b99c76970d7f961424 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 14 三月 2024 19:27:27 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/utils.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js
index 61a231a..6879330 100644
--- a/zy-asrs-flow/src/pages/map/utils.js
+++ b/zy-asrs-flow/src/pages/map/utils.js
@@ -250,6 +250,10 @@
     }
 }
 
+export const findSpriteByUuid = (uuid) => {
+    return mapContainer?.children?.find(child => child?.data?.uuid === uuid);
+}
+
 export const sensorTypeSelectOptions = (intl) => {
     let options = [];
     Object.entries(SENSOR_TYPE).forEach(([key, value]) => {

--
Gitblit v1.9.1