Showing
1 changed file
with
7 additions
and
2 deletions
| ... | @@ -316,8 +316,13 @@ | ... | @@ -316,8 +316,13 @@ |
| 316 | this.loadingFlightDate = true; | 316 | this.loadingFlightDate = true; |
| 317 | this.sourceFlightAndFlightDate = []; | 317 | this.sourceFlightAndFlightDate = []; |
| 318 | findSourceFlightAndFlightDateApi(this.queryParams).then(response => { | 318 | findSourceFlightAndFlightDateApi(this.queryParams).then(response => { |
| 319 | - this.sourceFlightAndFlightDate = response.data; | 319 | + if(response.code === 200){ |
| 320 | - this.loadingFlightDate = false; | 320 | + this.sourceFlightAndFlightDate = response.data; |
| 321 | + this.loadingFlightDate = false; | ||
| 322 | + }else{ | ||
| 323 | + this.msgError(response.msg); | ||
| 324 | + } | ||
| 325 | + | ||
| 321 | }); | 326 | }); |
| 322 | 327 | ||
| 323 | 328 | ... | ... |
-
Please register or login to post a comment