Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -134,8 +134,8 @@ export default { | ... | @@ -134,8 +134,8 @@ export default { |
| 134 | console.log(option); | 134 | console.log(option); |
| 135 | importFlight(file, this.form.type).then((res) => { | 135 | importFlight(file, this.form.type).then((res) => { |
| 136 | if (res.code != 200) { | 136 | if (res.code != 200) { |
| 137 | - if (res.data.length != 0) { | 137 | + if (res.code == 401) { |
| 138 | - this.$alert(res.msg + "其他航班已更新!", "提示", { | 138 | + this.$alert(res.msg , "提示", { |
| 139 | confirmButtonText: "确定", | 139 | confirmButtonText: "确定", |
| 140 | type: "warning", | 140 | type: "warning", |
| 141 | }); | 141 | }); | ... | ... |
-
Please register or login to post a comment