Pārlūkot izejas kodu

兼容河南红谷贪f2打不开

YaolongHan 4 gadi atpakaļ
vecāks
revīzija
c66a7c2595
1 mainītis faili ar 7 papildinājumiem un 2 dzēšanām
  1. 7 2
      src/components/baseEditer.vue

+ 7 - 2
src/components/baseEditer.vue

@@ -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.initScale = this.view.scale;
         this.view.maxScale = this.initScale * 10;
@@ -700,7 +705,7 @@ export default {
       bus.$on("toggleItem", item => {
         this.scene.toggleItem(item);
       });
-      // 
+      //
       bus.$on('itemAngle', ang => {
         this.scene.updateItemAng(ang);
       })