From f69c6c78bd95e38773b17a45da5e6bde17bdcee2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 03 四月 2024 13:52:04 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx b/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
index 3a2e75f..3a313fc 100644
--- a/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
@@ -78,6 +78,8 @@
                 palletMesh.position.set(0, 70 + 100 * (lev - 1), 0);
                 addObject(palletMesh)
             }
+        }).then(() => {
+            shelfThree.setNewSelectedMesh(locNo);
         });
     }
 }
@@ -102,8 +104,8 @@
             startThree(refContainer.current);
             shelfThree.handleClick = (objName) => {
                 setCurLocNo(objName);
-            }
-            fetchShelfInfo(originLocNo);   // curLoc鏇存柊涓嶅強鏃�
+            };
+            fetchShelfInfo(originLocNo);
             setLoading(false);
         }, 300)
 

--
Gitblit v1.9.1