|
@@ -7,7 +7,7 @@ var cancel
|
|
|
|
|
|
// 创建axios实例
|
|
// 创建axios实例
|
|
const axiosservice = axios.create({
|
|
const axiosservice = axios.create({
|
|
- timeout: 30000, // 请求超时时间
|
|
|
|
|
|
+ timeout: 3000000, // 请求超时时间
|
|
retry: 4, //重新请求次数
|
|
retry: 4, //重新请求次数
|
|
retryDelay: 1000, //重新请求的间隔
|
|
retryDelay: 1000, //重新请求的间隔
|
|
credentials: true, // 接口每次请求会跨域携带cookie
|
|
credentials: true, // 接口每次请求会跨域携带cookie
|