佛山运行图添加目的地码

This commit is contained in:
fan 2020-04-14 11:34:13 +08:00
parent 7c9d9ef4c7
commit c8a500c5dd

View File

@ -59,7 +59,8 @@ export default {
JsonData.push({ JsonData.push({
code: trainIdDown, code: trainIdDown,
directionCode: '1', directionCode: '1',
arrivalList: arrivalList arrivalList: arrivalList,
destinationCode: trainIdUp
}); });
} else if (reg.test(trainIdUp)) { } else if (reg.test(trainIdUp)) {
const arrivalList = []; const arrivalList = [];
@ -75,7 +76,8 @@ export default {
JsonData.push({ JsonData.push({
code: trainIdUp, code: trainIdUp,
directionCode: '2', directionCode: '2',
arrivalList: arrivalList arrivalList: arrivalList,
destinationCode: trainIdDown
}); });
} }
} }