JS系列---【GET请求传递数组参数】
1.借助qs插件
let param = ['a','b','c']; let newParam = qs.stringify({key:param},{indices:false}); //key=a&key=b&key=c
2.其他方法可参考https://www.cnblogs.com/kingreatwill/p/12641238.html
1.借助qs插件
let param = ['a','b','c']; let newParam = qs.stringify({key:param},{indices:false}); //key=a&key=b&key=c
2.其他方法可参考https://www.cnblogs.com/kingreatwill/p/12641238.html