Quellcode durchsuchen

与vben官方同步升级

zuohuaijun vor 4 Jahren
Ursprung
Commit
1813492d9f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) &&
       isFunction(responseInterceptorsCatch) &&
       this.axiosInstance.interceptors.response.use(undefined, (error) => {
       this.axiosInstance.interceptors.response.use(undefined, (error) => {
         // @ts-ignore
         // @ts-ignore
-        responseInterceptorsCatch(this.axiosInstance, error);
+        return responseInterceptorsCatch(this.axiosInstance, error);
       });
       });
   }
   }