amis icon indicating copy to clipboard operation
amis copied to clipboard

表单上传文件的类型可以是CSV吗?

Open ghost opened this issue 6 years ago • 1 comments

用表单上传文件时,上传的文件类型只能是txt格式吗? 我想上传csv文件,但提示只能是text/plain类型。

您添加的文件【SUMMARY-LOAD.csv】不符合类型的text/plain设定,请仔细检查。

ghost avatar Apr 13 '20 08:04 ghost

配置"accept": ".csv"

RickCole21 avatar Apr 13 '20 08:04 RickCole21