|
@@ -351,8 +351,13 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- console.log(11111111111111111111111111);
|
|
|
|
|
|
+
|
|
|
|
+ if(this.urlMsg.projectId==1000384 && this.urlMsg.FloorID =='f2'){
|
|
|
|
+ console.log('对河南红谷滩兼容');
|
|
|
|
+ }else{
|
|
this.view.fitSceneToView();
|
|
this.view.fitSceneToView();
|
|
|
|
+ }
|
|
|
|
+
|
|
// 设置初始化缩放比例
|
|
// 设置初始化缩放比例
|
|
this.initScale = this.view.scale;
|
|
this.initScale = this.view.scale;
|
|
this.view.maxScale = this.initScale * 10;
|
|
this.view.maxScale = this.initScale * 10;
|
|
@@ -700,7 +705,7 @@ export default {
|
|
bus.$on("toggleItem", item => {
|
|
bus.$on("toggleItem", item => {
|
|
this.scene.toggleItem(item);
|
|
this.scene.toggleItem(item);
|
|
});
|
|
});
|
|
- //
|
|
|
|
|
|
+ //
|
|
bus.$on('itemAngle', ang => {
|
|
bus.$on('itemAngle', ang => {
|
|
this.scene.updateItemAng(ang);
|
|
this.scene.updateItemAng(ang);
|
|
})
|
|
})
|