后端获取不到axios.post提交的参数
后端获取不到axios.post提交的参数
官网示例是这样的:
# 方式一:直接传入json对象作为参数
axios.post('/user', {
firstName: 'Fred',
lastName: 'Flintstone'
})
.then(function (response) {
console.log(response);
})
.catch(function (e...
原创
2019-12-30 10:14:37 ·
2635 阅读 ·
0 评论