|
|
@ -26,7 +26,7 @@ axios.defaults.withCredentials = true;
|
|
|
|
const httpService = axios.create({
|
|
|
|
const httpService = axios.create({
|
|
|
|
baseURL: 'http://cloud.sws010.com',// TODO:具体的配置可以根据项目情况而来
|
|
|
|
baseURL: 'http://cloud.sws010.com',// TODO:具体的配置可以根据项目情况而来
|
|
|
|
// withCredentials: true
|
|
|
|
// withCredentials: true
|
|
|
|
// timeout: 5000
|
|
|
|
timeout: 50000
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
//axios的拦截--request
|
|
|
|
//axios的拦截--request
|
|
|
|