1、accept

只能选择png和gif图片

<input id="fileId1" type="file" accept="image/png,image/gif" name="file" />

2、multiple

多文件上传

<input id="fileId2" type="file" multiple="multiple" name="file" />

3.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Excel

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2021-08-27
  • 2021-08-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-05
  • 2021-07-11
  • 2022-12-23
  • 2021-12-22
  • 2021-05-08
  • 2022-12-23
相关资源
相似解决方案