From 9941b6b14fc01ad49c9581c0eab75ac9b29da691 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 24 一月 2022 19:56:18 +0800
Subject: [PATCH] 完善系统日志功能

---
 src/scripts/httpRequest.ts |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/src/scripts/httpRequest.ts b/src/scripts/httpRequest.ts
index 846a592..a4f3cb4 100644
--- a/src/scripts/httpRequest.ts
+++ b/src/scripts/httpRequest.ts
@@ -154,23 +154,6 @@
           errJson.message = `杩炴帴鍑洪敊(${error.response.status})!`
       }
 
-      if (errJson.status >= 400 && errJson.status < 500) {
-        // 璺宠浆閿欒椤甸潰
-        // router.push({
-        //   path: "/error",
-        //   query: errJson
-        // });
-      } else {
-        // 鏈嶅姟鍣ㄩ敊璇��鍑虹郴缁燂紝寮圭獥鎻愮ず
-        // Message({
-        //   showClose: true,
-        //   message: errJson.message,
-        //   type: "error"
-        // });
-        // router.push({
-        //   path: "/login"
-        // });
-      }
     } else {
       errJson.message = '杩炴帴鏈嶅姟鍣ㄥけ璐�!'
       Notification({

--
Gitblit v1.8.0