提交 a00ed76c 编写于 作者: 2 23700113@qq.com

fix(app): uni.uploadFile的header属性,支持非String类型

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