Commit de4e2d8d authored by 郑磊's avatar 郑磊

1

parent f454e722
...@@ -152,6 +152,7 @@ export async function api<TData = void>(options: ApiOptions): Promise<ApiResp<TD ...@@ -152,6 +152,7 @@ export async function api<TData = void>(options: ApiOptions): Promise<ApiResp<TD
//执行请求 //执行请求
const resp = await axios.request<ApiResp<TData>>({ const resp = await axios.request<ApiResp<TData>>({
method: 'POST',
...rest, ...rest,
headers, headers,
data: { data: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment