代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-19 14:50:52 +08:00
parent 5e271d3320
commit 3230f15415

View File

@ -275,7 +275,6 @@ export default {
// const runningRoute = Object.values(this.runningRoutingMap).find(route => route.value == this.formModel.runningRouting); // const runningRoute = Object.values(this.runningRoutingMap).find(route => route.value == this.formModel.runningRouting);
if (!this.formModel.runningRouting) { if (!this.formModel.runningRouting) {
debugger;
let list = Object.values(this.runningRoutingMap).filter(route=>{ return route.runningRouting1 && route.runningRouting2; }); let list = Object.values(this.runningRoutingMap).filter(route=>{ return route.runningRouting1 && route.runningRouting2; });
list = list.sort((a, b) => { list = list.sort((a, b) => {
const startStationA = this.$store.getters['map/getDeviceByCode'](a.startStationCode); const startStationA = this.$store.getters['map/getDeviceByCode'](a.startStationCode);