@@ -212,10 +212,11 @@ function handleGetAudioDuration(file){
}
function handleAudioUploadBeforeRead(e){
const allowedTypes = ['audio/mpeg', 'audio/mp4','audio/aac','audio/x-m4a','audio/wav']
- if(!allowedTypes.includes(e.type)){
- showToast('上传失败,上传音频格式不正确')
- return false
- }
+ //由于部分安卓机的部分浏览器无法获取到文件类型,无法判断故先去除判断
+ // if(!allowedTypes.includes(e.type)){
+ // showToast('上传失败,上传音频格式不正确')
+ // return false
+ // }
return true
async function handleAudioUploadAfterRead(e){