var postArray= new Array();
var temp = new Object();
temp.id='1';
temp.name='test';
postArray.push(temp);
$.ajax({
url:"url",
type:'post',
data:{data:JSON.stringify(postArray)},
success:function(data)
    //对date做处理
}
});

 
把对象数组转换成json,然后后台在把json转换成对象数组

相关文章:

  • 2021-11-22
  • 2022-01-19
  • 2022-01-22
  • 2021-11-27
  • 2021-12-26
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-08-12
  • 2021-12-26
  • 2021-10-18
相关资源
相似解决方案