diff --git a/src/http/http.ts b/src/http/http.ts index fac0dca..f2864b6 100644 --- a/src/http/http.ts +++ b/src/http/http.ts @@ -175,6 +175,7 @@ export function httpDelete(url: string, query?: Record, header?: }) } +// 支持与 axios 类似的API调用 http.get = httpGet http.post = httpPost http.put = httpPut