|
@@ -9,7 +9,7 @@ import errorCode from '@/utils/errorCode';
|
|
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8';
|
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8';
|
|
|
const service = axios.create({
|
|
const service = axios.create({
|
|
|
baseURL: process.env.VUE_APP_BASE_API,
|
|
baseURL: process.env.VUE_APP_BASE_API,
|
|
|
- timeout: 300000,
|
|
|
|
|
|
|
+ timeout: 0, //30000
|
|
|
withCredentials: true,
|
|
withCredentials: true,
|
|
|
});
|
|
});
|
|
|
// request拦截器
|
|
// request拦截器
|