#
luxiaotao1123
2024-04-11 124393622cf39640cb0094f3b2bfeacbdb30eab9
#
2个文件已修改
6 ■■■■ 已修改文件
zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js
@@ -200,8 +200,8 @@
        }
    }
    rePerspective = (maxHeight) => {
        const height = Math.max(maxHeight, 600)
    rePerspective = (maxHeight, normalHeight) => {
        const height = Math.max(maxHeight, normalHeight)
        const cameraPosScale = 0.7;
        this.camera.position.set(
            -height * cameraPosScale, 
zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
@@ -107,7 +107,7 @@
            Promise.all(promises).then(() => {
                shelfThree.setNewSelectedMesh(locNo);
                shelfThree.rePerspective(singleHeight * res.data.length);
                shelfThree.rePerspective(singleHeight * res.data.length, 500);
            }).catch(error => {
                console.error(error);
            });