From efe3e228713018604a1767e58aaa73382d4bbc23 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 05 九月 2025 23:20:03 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdmweb

---
 src/axios.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/axios.js b/src/axios.js
index 07ca7d6..4d15f0c 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -202,11 +202,16 @@
     }
 
     // 濡傛灉璇锋眰涓洪潪200鍒欓粯璁ょ粺涓�澶勭悊
-    if (status !== 200 && status != 2) {
+    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