zuohuaijun пре 4 година
родитељ
комит
1813492d9f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Vben2/src/utils/http/axios/Axios.ts

+ 1 - 1
Vben2/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);
       });
   }