fix: 前端超时设置
This commit is contained in:
@@ -13,7 +13,7 @@ declare module "axios" {
|
|||||||
|
|
||||||
const http = axios.create({
|
const http = axios.create({
|
||||||
baseURL: "/api",
|
baseURL: "/api",
|
||||||
timeout: 10000,
|
timeout: 60000,
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user