延迟请求超时时间

master
Pan 8 years ago
parent 115b2b0f7d
commit f65e714e9e

@ -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拦截器

Loading…
Cancel
Save