Browse Source

修改业务空间创建报错问题

haojianlong 4 years ago
parent
commit
87bdc59c80
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/components/business_space/newGraphy/graphy.vue

+ 3 - 2
src/components/business_space/newGraphy/graphy.vue

@@ -256,8 +256,7 @@
           this.BIMIDToSIName = {}
           this.sourceIdToISP = {}
           res.content.map(t => {
-            ////----
-            let key = t.BIMID.split(":")[1];
+            let key = t.bimId.split(":")[1];
             this.BIMIDToSID[key] = t.id;
             this.BIMIDToSIName[key] = t.localName || t.name;
             this.sourceIdToISP[key] = t;
@@ -633,6 +632,8 @@
           let newarr = this.makeMaxAreaFirst(spaces[key])
           zoneObj.outline.push(newarr);
           let curISP = this.sourceIdToISP[key];
+          console.log(curISP);
+          console.log('--------------');
           if (curISP) {
             curISP && IspaceIdList.push(curISP.id);
             zoneObj.height = this.spaceHeight;