上传时excel类型accept的MIMI类型
2024-09-01 17:11:13
1.excel文件类型
accept='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel'
2.zip文件类型
accept='.zip'
通过文件的type属性比较
file.type === 'application/x-zip-compressed'
最新文章
- SVN出现Invalid authz configuration解决方案
- Leetcode-2 Add Two Numbers
- C# Enum,Int,String的互相转换 枚举转换
- 02OC的类和对象
- win7垃圾路径
- com.opensymphony.xwork2.ognl.OgnlValueStack] - target is null for setProperty(null, ";emailTypeNo";, [Ljava.lang.String;@6f205e]
- linux使用crontab实现PHP执行定时任务及codeiginter参数传递相关
- SerialPort基本小例
- 2016030401 - java性能优化建议
- 转载:JSONObject.fromObject(map)(JSON与JAVA数据的转换)
- Oracle中使用escape关键字实现like匹配特殊字符,以及&;字符的转义
- 对发给Application.Handle消息的三次执行(拦截)消息的过程
- OA、CRM、ERP之间的区别和联系是什么?
- spring @Qualifier注解使用
- 【FPGA学习】Verilog之加法器
- FFT Cheetsheet
- SQL2000系统表、存储过程、函数的功能介绍及应用
- js获取url中参数名也参数值
- new 运算符干了什么
- hdu 4112 Break the Chocolate 贪心