axios请求的输入参数是数组里对象的形式,用qs.stringify()转化之后不符合预期
如:{key: "手机", page: 1, filter: {brandId: "18374"}}
里面filter格式的对象
需要设置 allowDots 为true
qs.stringify(data, {arrayFormat: 'indices', allowDots: true})
如:{key: "手机", page: 1, filter: {brandId: "18374"}}
里面filter格式的对象
需要设置 allowDots 为true
qs.stringify(data, {arrayFormat: 'indices', allowDots: true})