ajax向后台传递数组

$.ajax({
    traditional: true//这个设置为true,data:{"steps":["qwe","asd","zxc"]}会转换成steps=qwe&steps=asd&...
});
原文地址:https://www.cnblogs.com/tinyTea/p/6030031.html