From e1fee3c5c1eb50f49d20dad4dc656dfdcb81d4b4 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 29 九月 2025 17:18:33 +0800
Subject: [PATCH] 工控网界面优化
---
src/axios.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/axios.js b/src/axios.js
index 96e74e7..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