From 8499181e9d717bfc5a689d6a5f61c3b182f2f28e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 04 九月 2025 20:02:47 +0800
Subject: [PATCH] 提示改为alert

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

diff --git a/src/axios.js b/src/axios.js
index 3f69325..4d15f0c 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -202,11 +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