This commit is contained in:
Pan
2018-06-01 15:36:31 +08:00
parent 0d4667ccf8
commit a48d38d861
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import { getToken } from '@/utils/auth'
// 创建axios实例
const service = axios.create({
baseURL: process.env.BASE_API, // api的base_url
timeout: 15000 // 请求超时时间
timeout: 5000 // 请求超时时间
})
// request拦截器