I'm facing the same issue with File and Safari. After some research I found a solution that seems to work for me... hope it will be useful for you:
Instead of using new File, i append name and lastModifiedDate fields to the blob.
blob.name = "filename.png";
blob.lastModifiedDate = new Date();
It is not a file, but you can use it like it was...
这种人啥心态
it works!
俗话说,有多少功能就有多少bug。
博主分享了在File和Safari中遇到问题的解决办法。不使用new File,而是将name和lastModifiedDate字段追加到blob,设置blob.name和blob.lastModifiedDate,虽不是文件但可当作文件使用,该方法已验证可行。
577

被折叠的 条评论
为什么被折叠?



