From ce7cab3f73e46f76b10efd7f8ff8dd5ce712482b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 12 十一月 2024 14:39:43 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/http.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js
index b059e6c..3a66580 100644
--- a/zy-acs-flow/src/map/http.js
+++ b/zy-acs-flow/src/map/http.js
@@ -14,7 +14,7 @@
     mapContainer = param;
 }
 
-export const fetchMapData = (zoneId, setRcsStatus) => {
+export const fetchMapData = (zoneId, setRcsStatus, setCurSprite) => {
     Tool.clearMapData();
     return request.post('/map/data/fetch', {
         zoneId: zoneId
@@ -57,6 +57,7 @@
                         // }, 50);
 
                         mapContainer.addChild(sprite);
+                        Tool.beInsight(sprite, setCurSprite);
                     }
                 }
             })

--
Gitblit v1.9.1