shanyunduo.cheng

401响应

......@@ -134,8 +134,8 @@ export default {
console.log(option);
importFlight(file, this.form.type).then((res) => {
if (res.code != 200) {
if (res.data.length != 0) {
this.$alert(res.msg + "其他航班已更新!", "提示", {
if (res.code == 401) {
this.$alert(res.msg , "提示", {
confirmButtonText: "确定",
type: "warning",
});
......