使用postman请求token可以返回
用axios进行请求就报错了!
this.$http({
method: "POST",
url: "oauth/token",
headers:{
"Authorization":"Basic YWRtaW46YWRtaW4=",
"Content-Type":"application/x-www-form-urlencoded"
},
data:this.qs.stringify({
username:"1234",
password:"bai1314520",
grant_type:'password',
})
})