打印FormData

1
2
3
4
5
let objNew = {}
for (let i of formData.entries()) {
objNew[i[0]] = i[1]
}
console.log(objNew)