export const objToFormData = (obj) => {
const formData = new FormData()
for (var i in obj) {
formData.append(i, obj[i])
}
return formData
}
export const objToFormData = (obj) => {
const formData = new FormData()
for (var i in obj) {
formData.append(i, obj[i])
}
return formData
}
本文标题:2021-04-21转化为表单提交
本文链接:https://www.haomeiwen.com/subject/gmwzlltx.html
网友评论