标签:类型 文件类型 document accept .sh off -o orm read
1.excel文件类型
accept=‘application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel‘
2.zip文件类型
accept=‘.zip‘
通过文件的type属性比较
file.type === ‘application/x-zip-compressed‘
标签:类型 文件类型 document accept .sh off -o orm read
原文地址:https://www.cnblogs.com/heroljy/p/9875897.html