From e377a795b987e777b9cf441d524b9628b6433e95 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 21 三月 2024 15:56:13 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/index.jsx |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/index.jsx b/zy-asrs-flow/src/pages/map/index.jsx
index 7a71492..852c7ea 100644
--- a/zy-asrs-flow/src/pages/map/index.jsx
+++ b/zy-asrs-flow/src/pages/map/index.jsx
@@ -223,16 +223,12 @@
     const switchFloor = async (floor) => {
         await Utils.fetchMapData(floor);
 
-        player.hideGridlines();
-        player.hideStarryBackground();
-
-        player.activateMapEvent(null);
-
         Utils.removeSelectedEffect();
+        
         setCurSPrite(null);
-        setDeviceVisible(false);
-        setSettingsVisible(false);
         setDrawerVisible(false);
+        setSpriteBySettings(null);
+        setSettingsVisible(false);
 
         mapContainer.children.forEach(child => {
             Utils.viewFeature(child, setCurSPrite);

--
Gitblit v1.9.1