瀏覽代碼

修改注释代码

haojianlong 4 年之前
父節點
當前提交
5601728310
共有 1 個文件被更改,包括 14 次插入14 次删除
  1. 14 14
      src/components/baseEditer.vue

+ 14 - 14
src/components/baseEditer.vue

@@ -59,23 +59,23 @@ export default {
         this.appName,
         null
       );
-      // this.fmap.parseData("1001724_29", 6, res => {
-      //   this.fParser = new SFloorParser(null);
-      //   this.fParser.parseData(res);
-      //   this.fParser.wallList.forEach(t => this.scene.addItem(t));
-      //   this.fParser.virtualWallList.forEach(t => this.scene.addItem(t));
-      //   this.fParser.doorList.forEach(t => this.scene.addItem(t));
-      //   this.fParser.columnList.forEach(t => this.scene.addItem(t));
-      //   this.fParser.casementList.forEach(t => this.scene.addItem(t));
-      //   this.fParser.spaceList.forEach(t => {
-      //     t.selectable = true;
-      //     // t.connect("click", this, this.spaceClick);
-      //     this.scene.addItem(t);
-      //   });
+      this.fmap.parseData("1001724_29", 6, res => {
+        this.fParser = new SFloorParser(null);
+        this.fParser.parseData(res);
+        this.fParser.wallList.forEach(t => this.scene.addItem(t));
+        this.fParser.virtualWallList.forEach(t => this.scene.addItem(t));
+        this.fParser.doorList.forEach(t => this.scene.addItem(t));
+        this.fParser.columnList.forEach(t => this.scene.addItem(t));
+        this.fParser.casementList.forEach(t => this.scene.addItem(t));
+        this.fParser.spaceList.forEach(t => {
+          t.selectable = true;
+          // t.connect("click", this, this.spaceClick);
+          this.scene.addItem(t);
+        });
         this.view.scene = this.scene;
         this.view.fitSceneToView();
         // this.$loading.close(loadings)
-      // });
+      });
       this.scene.emitChange = this.emitChange;
     },
     // 监听变化