let arr = [1,2,3];
$.ajax({
url'./somepath',
type:''POST,
data:arr,
success:function(){
}
})
data直接是数组而不带参数名,即不是key/value格式,可以成功返回数据吗
相关分类