Browse Source

修改传值null

haojianlong 5 years ago
parent
commit
db0a514db1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/components/business_space/newGraphy/graphy.vue

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

@@ -501,6 +501,9 @@ export default {
           zoneObj.Outline.push([temp]);
         })
       }
+      if (!zoneObj.Outline.length) {
+        zoneObj.Outline = null;
+      }
       zoneObj.RoomLocalName = val;
       zoneObj.BuildingId = this.buildFloor[0];
       zoneObj.FloorId = this.buildFloor[1];