Kaynağa Gözat

修改传值null

haojianlong 5 yıl önce
ebeveyn
işleme
db0a514db1

+ 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];