From 0cc5d0c1cfe9f1a1b87575fefbc0451b6192633a Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 04 八月 2025 21:00:56 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdmweb
---
src/axios.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/axios.js b/src/axios.js
index b339797..96e74e7 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -113,7 +113,6 @@
const message = res.data.msg || res.data.error_description || '绯荤粺閿欒';
//濡傛灉鍦ㄧ櫧鍚嶅崟閲屽垯鑷catch閫昏緫澶勭悊
if (statusWhiteList.includes(status)) return Promise.reject(res);
-
// 濡傛灉鏄�401骞朵笖娌℃湁閲嶈瘯杩囷紝灏濊瘯鍒锋柊token
if (status === 401 && !config._retry) {
config._retry = true;
@@ -203,7 +202,7 @@
}
// 濡傛灉璇锋眰涓洪潪200鍒欓粯璁ょ粺涓�澶勭悊
- if (status !== 200) {
+ if (status !== 200 && status != 2 && status != 400) {
ElMessage({
message: message,
type: 'error',
--
Gitblit v1.9.3