修改ajox 请求超时时长

main
bmpandlcm 11 months ago
parent eb927c16c5
commit 18f8899743

@ -7,9 +7,9 @@ axios.defaults.withCredentials = true
const instance = axios.create({
//生产环境
//baseURL:window.location.origin+'/CloudWorkSetService',
baseURL:window.location.origin+'/CloudWorkSetService',
//测试环境
baseURL: 'http://' + window.location.hostname + ':9442/CloudWorkSetService',
//baseURL: 'http://' + window.location.hostname + ':9442/CloudWorkSetService',
timeout: 90000, // 超时时间
headers: { 'Content-Type': 'application/json;charset=UTF-8;'} // 携带的请求头
})

Loading…
Cancel
Save