我是這樣提交表單的$http({headers:{'Content-Type':'application/x-www-form-urlencoded'},method:'POST',url:url,data:{type:1}})為什么我的服務(wù)器接到的會(huì)是這樣的東西?{'{"type":1}':''}
angular提交表單的數(shù)據(jù)格式
猛跑小豬
2019-04-21 20:22:03