From b4d2703e653bf702d705b18c20d9edb9066c7c8a Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期三, 03 十一月 2021 17:35:10 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/vue-smart-ai --- 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