Pārlūkot izejas kodu

修改传值null

haojianlong 5 gadi atpakaļ
vecāks
revīzija
db0a514db1
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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];