-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
浏览器上传Blob格式文件不支持。 #325
Comments
把blob转换成file对象 |
居然没有直接支持 Blob 的方法,那个 Buffer 反而不常用,强烈建议支持 Blob |
blob格式,已经安排支持了。 |
谢谢 |
This was referenced Mar 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用Canvas.toBlob导出的Blob格式文件上传会报
Error: _getFileSize requires Buffer/File/String.
发现是multipart.js browser/multipart.js里305行
这个方法挡住了,能否增加下对Blob格式的支持,
return typeof(File) !== 'undefined' && (file instanceof File || file instanceof Blob);
谢谢
The text was updated successfully, but these errors were encountered: