there are post request parameters like this
requestObj = {
staffList: [{
staffId: "xxx",
availableQuota: 10
}, {
staffId": "xxx",
availableQuota: 14
}]
}
axios({
method: "post",
url: url,
data: qs.stringify(requestObj, {arrayFormat: "brackets"})
})
After processing, it becomes like this, like a two-dimensional array
what I hope is
staffList[0].staffId: "xxx"
staffList[0].availableQuota: 10
staffList[1].staffId: "xxx"
staffList[1].availableQuota: 14