Commit f65e714e authored by Pan's avatar Pan

延迟请求超时时间

parent 115b2b0f
......@@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth';
// 创建axios实例
const service = axios.create({
baseURL: process.env.BASE_API, // api的base_url
timeout: 5000 // 请求超时时间
timeout: 15000 // 请求超时时间
});
// 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