fix: 优化接口请求超时时间
This commit is contained in:
parent
c430478319
commit
453973fe32
|
@ -16,7 +16,7 @@ export const SUCCESS_CODE = 200 // 成功代码
|
|||
export const request = axios.create({
|
||||
withCredentials: false,
|
||||
baseURL: BASE_API_PATH,
|
||||
timeout: 1000 * 60 * 5
|
||||
timeout: 1000 * 15
|
||||
})
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue