Biao 3 anni fa
parent
commit
751c31f401
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      src/views/specific/zhcydl.vue

+ 5 - 5
src/views/specific/zhcydl.vue

@@ -388,11 +388,11 @@ export default {
             }
           });
           stations.company = company;
-          // for (const item in stations) {
-          //   stations[item].children = stations[item].children.sort(
-          //     this.compare("month")
-          //   );
-          // }
+          for (const item in stations) {
+            stations[item].children = stations[item].children.sort(
+              this.compare("month")
+            );
+          }
           // console.log(stations);
           this.stations = stations;
           console.log(stations);