jinhui.wang

参数修正

...@@ -692,7 +692,13 @@ export default { ...@@ -692,7 +692,13 @@ export default {
692 }, 692 },
693 //配载航班号获取航线 693 //配载航班号获取航线
694 planeNoChange(val) { 694 planeNoChange(val) {
695 - getFlightsRoutes(val.split(';')).then(res => { 695 + let arr = []
696 + if (typeof val != 'object') {
697 + arr = val.split(';')
698 + } else {
699 + arr = val
700 + }
701 + getFlightsRoutes(arr).then(res => {
696 if (res.code === 200) { 702 if (res.code === 200) {
697 this.routeList = res.data 703 this.routeList = res.data
698 } else { 704 } else {
......