Filepicker 在 Windows 上不接受 mimetype 'text/csv' [英] Filepicker does not accept mimetype 'text/csv' on windows
本文介绍了Filepicker 在 Windows 上不接受 mimetype 'text/csv'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用文件选择器并为text/csv"上的上传设置 mimetype.它在 Mac chrome 上运行良好,但在 Windows 上则不然.关于如何解决这个问题的任何想法?谢谢.
I am using filepicker and set the mimetype for the upload on 'text/csv'. It works pretty well on Mac chrome, but on windows it does not. Any idea on how to fix this? Thanks.
王牌
推荐答案
也尝试替代 mimetypes:
Try the alternative mimetypes as well:
text/comma-separated-values, text/csv, application/csv, application/excel, application/vnd.ms-excel, application/vnd.msexcel
来源:http://fileext.com/file-extension/CSV
这篇关于Filepicker 在 Windows 上不接受 mimetype 'text/csv'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文