From feaf0a9778879ef211c5587a513ba4cbdabb52d0 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 23 六月 2022 17:42:58 +0800 Subject: [PATCH] bug修复 --- 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