diff --git a/yanzhu-bigscreen/src/views/bimManage.vue b/yanzhu-bigscreen/src/views/bimManage.vue index 3cea6c42..28e03372 100644 --- a/yanzhu-bigscreen/src/views/bimManage.vue +++ b/yanzhu-bigscreen/src/views/bimManage.vue @@ -980,12 +980,9 @@ export default { } setTimeout(() => { api.Model.location(modelId); - this.resetScene(); - if (x * 1 + y * 1 + z * 1 != 0) { - setTimeout(() => { - api.Camera.lookAt({ position: [x, y, z], distance: 20000, heading: 90, pitch: -45 }) - }, 1000); - } + setTimeout(() => { + this.resetScene(); + }, 1000); }, 1000); } this.initHideParts() @@ -996,7 +993,7 @@ export default { let hideCnt = 0; let hideFn = () => { hideCnt++; - if (hideCnt > 20) { + if (hideCnt > 30) { return; } setTimeout(() => {