ERROR RequestId:7bec1082-4f40-11ed-92b1-5254009818a2 Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"Cannot read property '1' of null
TypeError: Cannot read property '1' of null
at module.exports (/var/user/@common_modules/form-data-utils/parser.js:37:34)
at Object.exports.main (/var/user/__index.js:11:15)
at J (/var/user/index.js:1:18670)
at j (/var/user/index.js:1:18852)
at EventHandler.exports.main [as realHandler] (/var/user/index.js:1:20345)
at EventHandler.handle (/var/runtime/node8/bootstrap.js:427:28)
at invoke (/var/runtime/node8/bootstrap.js:225:22)
at Timeout.setTimeout [as _onTimeout] (/var/runtime/node8/bootstrap.js:150:9)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)"}
//云函数接收的代码
exports.main = async (event, context) => {
//event为客户端上传的参数
console.log(event,"数据")
const data = formParser(event)
console.log(data,"1数据")
发送的回调的formdata数据如图片,研究一周了,怎么也不会