提交 cd74c717 编写于 作者: Q qiang

fix: app-v3 formData 支持非 String 类型

上级 2edf285c
......@@ -52,7 +52,7 @@ const createUploadTaskById = function (uploadTaskId, {
}
for (const name in formData) {
if (formData.hasOwnProperty(name)) {
uploader.addData(name, formData[name])
uploader.addData(name, String(formData[name]))
}
}
if (files && files.length) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册