Commit 67985215 authored by lixy's avatar lixy

超时时间调整为20秒

parent c0298df8
...@@ -11,7 +11,7 @@ import { ...@@ -11,7 +11,7 @@ import {
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
baseURL: process.env.BASE_API, // api的base_url baseURL: process.env.BASE_API, // api的base_url
timeout: 5000 // 请求超时时间 timeout: 20000 // 请求超时时间
}); });
// request拦截器 // request拦截器
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment