axios封装请求拦截器设置请求头添加请求token

1.axios封装请求拦截器设置请求头添加请求token

main.js中 

Vue.prototype.$http.interceptors.response.use(
posted @ 2022-06-17 09:24  BBS_自律  阅读(164)  评论(0)    收藏  举报