Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
dev 同步
daoyian983fe6b373f6
diff --git a/src/utils/FetchService/FetchService.ts b/src/utils/FetchService/FetchService.tsindex c612dc88..b7de0d7b 100644--- a/src/utils/FetchService/FetchService.ts+++ b/src/utils/FetchService/FetchService.ts@@ -4,7 +4,7 @@ import { Dictionary, IFetchServiceConfig, RequestParams } from "./types";* 泛型:* T=返回类型*/-class FetchService<T = Response> {+class FetchService<T = Response> {baseURL: string;// 请求拦截requestInterceptor?: (