refactor(utils): 调整 API 请求超时时间
-
This commit is contained in:
@@ -7,7 +7,7 @@ export type RequestParams = Record<string, string | number | boolean | null | un
|
||||
// 创建axios实例
|
||||
const instance: AxiosInstance = axios.create({
|
||||
baseURL: process.env.VITE_API_BASE_URL,
|
||||
timeout: 30000,
|
||||
timeout: 40000,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user