shanyunduo.cheng

401响应

...@@ -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 });
......