#
luxiaotao1123
2024-04-03 f69c6c78bd95e38773b17a45da5e6bde17bdcee2
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)