提交 7662f11c authored 作者: pengxiaohui's avatar pengxiaohui

增加请求超时时间

上级 8d6eb0c6
......@@ -4,7 +4,7 @@ import { Message } from 'element-ui'
import { getNonce } from '@/utils/utils'
// import router from '@/router'
const httpRequest = axios.create({
timeout: 60000,
timeout: 300000,
withCredentials: true,
headers: { 'Content-Type': 'application/json', apikey: 'McS1WsnMwMhsfc7cJ7Y0' }
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论