From 7e31efcfe2c62a4aa030f9a4ed2eefa07fa33751 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 17 Feb 2022 01:30:08 +0800 Subject: [PATCH] =?UTF-8?q?v3.7.0=20=E9=98=B2=E6=AD=A2=E9=94=99=E8=AF=AFto?= =?UTF-8?q?ken=E5=AF=BC=E8=87=B4=E7=9A=84=E8=A7=A3=E6=9E=90=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin/src/utils/request.js b/yudao-ui-admin/src/utils/request.js index ea2bf7c35..6195d7ee7 100644 --- a/yudao-ui-admin/src/utils/request.js +++ b/yudao-ui-admin/src/utils/request.js @@ -73,7 +73,7 @@ service.interceptors.response.use(res => { location.href = '/index'; }) }).catch(() => {}); - return Promise.reject('error') + return Promise.reject() } else if (code === 500) { Message({ message: msg,