把formdata的格式删除掉,改成普通的模式
login({
"username":this.username,
"password":this.password
}).then(function (res) {
})
就可以了
把formdata的格式删除掉,改成普通的模式
login({
"username":this.username,
"password":this.password
}).then(function (res) {
})
就可以了