如下是我的提交数据(json):{"form_1":[{"resultName":"","level":"","unitOrder":"","winner":"","winnerOrder":"","date":"1","score":""}],
"form_2":[{"resultName":"","level":"","unitOrder":"","winner":"","winnerOrder":"","date":"1","score":""}],
"form_3":[{"resultName":"","level":"","unitOrder":"","winner":"","winnerOrder":"","date":"1","score":""}]
}然后express下获取req.body打印:console.log(req.body)报错:TypeError: Cannot convert object to primitive value请问这种情况怎么回事呢?我要如何正确获取传过来的数据
添加回答
举报
0/150
提交
取消