|
|
@ -11,7 +11,7 @@ const instance = axios.create({ |
|
|
// timeout: 5000
|
|
|
// timeout: 5000
|
|
|
// timeout:5000
|
|
|
// timeout:5000
|
|
|
}) |
|
|
}) |
|
|
//请求拦截
|
|
|
|
|
|
|
|
|
//请求拦截 22
|
|
|
// instance.interceptors.request.use((config)=>{
|
|
|
// instance.interceptors.request.use((config)=>{
|
|
|
// let token = localStorage.getItem('token')
|
|
|
// let token = localStorage.getItem('token')
|
|
|
// let tokentype = localStorage.getItem('tokentype')
|
|
|
// let tokentype = localStorage.getItem('tokentype')
|
|
|
|