From 057ce688e9fe904c1a74b2505531d5afc7acf43e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 10 九月 2025 23:03:56 +0800
Subject: [PATCH] 修复bug
---
src/axios.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/axios.js b/src/axios.js
index 5285522..4d15f0c 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -202,13 +202,16 @@
}
// 濡傛灉璇锋眰涓洪潪200鍒欓粯璁ょ粺涓�澶勭悊
- if (status !== 200 && status != 2 && status == 400) {
+ if (status !== 200 && status == 400) {
+
ElMessage({
message: message,
type: 'error',
+ center:true,
showClose:true,
duration:0,
});
+ //this.$alert(message,{confirmButtonText:'鍏抽棴'});
return Promise.reject(new Error(message));
}
return res;
--
Gitblit v1.9.3