Showing
1 changed file
with
0 additions
and
5 deletions
| ... | @@ -1054,11 +1054,6 @@ export default { | ... | @@ -1054,11 +1054,6 @@ export default { |
| 1054 | findDestinationFltRuleByFlightNo(query).then(result => { | 1054 | findDestinationFltRuleByFlightNo(query).then(result => { |
| 1055 | const { code, data } = result; | 1055 | const { code, data } = result; |
| 1056 | if (code == 200) { | 1056 | if (code == 200) { |
| 1057 | - let newRoute = JSON.parse(JSON.stringify(this.routeList.concat(data.routeList))) | ||
| 1058 | - const resRoute = newRoute.filter((item, index, self) => { | ||
| 1059 | - return self.findIndex(t => JSON.stringify(t) === JSON.stringify(item)) === index; | ||
| 1060 | - }); | ||
| 1061 | - this.routeList = Array.from(new Set(resRoute)); | ||
| 1062 | if (data.routeList.length) { | 1057 | if (data.routeList.length) { |
| 1063 | this.routeList.forEach(route => { | 1058 | this.routeList.forEach(route => { |
| 1064 | let routesStatus = 1 | 1059 | let routesStatus = 1 | ... | ... |
-
Please register or login to post a comment