Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-12 15:26:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
61fadeaeef2ab5d99d972945079c66683171850b
61fadeae
1 parent
5ae0e285
修改航线覆盖问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
61fadea
...
...
@@ -1020,7 +1020,11 @@ export default {
findDestinationFltRuleByFlightNo(query).then(result => {
const { code, data } = result;
if (code == 200) {
this.routeList = data.routeList;
let newRoute = JSON.parse(JSON.stringify(this.routeList.concat(data.routeList)))
const result =newRoute.filter((item, index, self) => {
return self.findIndex(t => JSON.stringify(t) === JSON.stringify(item)) === index;
});
this.routeList = Array.from(new Set(result));
let routesStatus = 1
if (data.routeList.length) {
this.routeList.forEach(route => {
...
...
Please
register
or
login
to post a comment