Biao vor 3 Jahren
Ursprung
Commit
751c31f401
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  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);