axios.post(' URL', {parm:1},
{
headers: { 'Authorization': this.$route.query.token }
}).then(function(response) {
}).catch(function(error) {
console.log(error)
})
Vue axios请求头带token
最新推荐文章于 2024-06-06 11:00:00 发布