|
@@ -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);
|