增加超时时间设置
This commit is contained in:
parent
43dfa3a2ef
commit
08316be6f2
|
|
@ -24,7 +24,7 @@ const service = axios.create({
|
|||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
timeout: 60000
|
||||
})
|
||||
|
||||
// request 拦截器
|
||||
|
|
|
|||
Loading…
Reference in New Issue