优化Axios界面及布局

This commit is contained in:
fofolee
2025-01-02 11:48:45 +08:00
parent 28f034814b
commit 15ad67a753
4 changed files with 291 additions and 187 deletions

View File

@@ -113,3 +113,15 @@ export const contentTypes = [
value: "application/octet-stream",
},
];
export const methods = [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
];
export const responseTypes = ["json", "text", "blob", "arraybuffer"];