Merge remote-tracking branch 'origin/dev-yxl' into dev-sws
commit
b1191d84d1
|
|
@ -9,7 +9,6 @@ const service = axios.create({
|
||||||
timeout: 50000,
|
timeout: 50000,
|
||||||
headers: { 'Content-Type': 'application/json;charset=utf-8' },
|
headers: { 'Content-Type': 'application/json;charset=utf-8' },
|
||||||
});
|
});
|
||||||
console.log('123');
|
|
||||||
// 请求拦截器
|
// 请求拦截器
|
||||||
service.interceptors.request.use(
|
service.interceptors.request.use(
|
||||||
(config: InternalAxiosRequestConfig) => {
|
(config: InternalAxiosRequestConfig) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue