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