From 419b7aea078d2a12a3d866a758162c9e2f697be9 Mon Sep 17 00:00:00 2001 From: zuihou <244387066@qq.com> Date: Fri, 6 May 2022 10:39:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(axios):=20=E8=AF=B7=E6=B1=82=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E6=97=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=20catch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http/axios/Axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/http/axios/Axios.ts b/src/utils/http/axios/Axios.ts index e3e912d6..19c2ba34 100644 --- a/src/utils/http/axios/Axios.ts +++ b/src/utils/http/axios/Axios.ts @@ -113,7 +113,7 @@ export class VAxios { isFunction(responseInterceptorsCatch) && this.axiosInstance.interceptors.response.use(undefined, (error) => { // @ts-ignore - responseInterceptorsCatch(this.axiosInstance, error); + return responseInterceptorsCatch(this.axiosInstance, error); }); }