📅  最后修改于: 2022-03-11 14:48:35.441000             🧑  作者: Mango
for ([key, value] of form_data.entries()) {
let val;
if (value instanceof File) {
val = value.name;
} else {
val = value;
}
console.log(key + ': ' + val);
}