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)