axios({
url: '/api/xxxx',
method: 'post',
data:{
test:1111
},
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
transformRequest(data){
let ret = '';
for (let it in data) {
ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&';
}
return ret;
}
})
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。