mounted:function(){
axios.interceptors.request.use(function(config){
console.log('请求前')
return config;
})
axios.interceptors.response.use(function(response){
console.log('请求后')
return response;
})
},
网友评论