yunxing 4 years ago
parent
commit
6bf903f20b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/equipmentFacilities/ElectricWell.vue

+ 2 - 0
src/views/equipmentFacilities/ElectricWell.vue

@@ -194,9 +194,11 @@ export default {
                 console.log(item)
                 list.push({
                     floor: item,
+                    seq: res_data[item][0].seq,
                     data: res_data[item],
                 })
             }
+            list = list.sort((a, b) => b.seq - a.seq)
             this.list = list
             console.log(this.list)
             // console.log(JSON.stringify(res_data, null, 2))