Bladeren bron

信息点整理字段修改

haojianlong 3 jaren geleden
bovenliggende
commit
c8860330f8
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/views/data_admin/buildData/index-2.vue

+ 3 - 3
src/views/data_admin/buildData/index-2.vue

@@ -752,11 +752,11 @@ export default {
         this.floorList.unshift({
           name: "全部",
           localName: "全部",
-          floorId: "all"
+          id: "all"
         }, {
           name: "未明确楼层",
           localName: "未明确楼层",
-          floorId: "noKnow"
+          id: "noKnow"
         })
       });
     },
@@ -1192,7 +1192,7 @@ export default {
     changeFloor() {
       this.checkPointClass = -1;
       for (let i = 0; i < this.floorList.length; i++) {
-        if (this.floorId == this.floorList[i].floorId) {
+        if (this.floorId == this.floorList[i].id) {
           this.floorName = this.floorList[i].localName;
         }
       }