企业微信h5 input capture="camera" onchange失效
小米11pro userAgent:Mozilla/5.0 (Linux; Android 12; M2102K1AC Build/SKQ1.211006.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/95.0.4638.74 Mobile Safari/537.36 wxwork/4.0.0 ColorScheme/Light MicroMessenger/7.0.1 NetType/WIFI Language/zh Lang/zh 拍摄视频 onchange失效 代码: <input type="file" id="fileUpload" accept="video/*" capture="camera" onchange="changeFile(this)"> <div id="filediv"></div> <script> function changeFile(obj){ var _files=obj.files,filename=''; if(_files&&_files.length>0){ filename=_files[0].name; } alert('文件发生变化'); document.getElementById('filediv').innerHTML='文件变了:'+filename; } </script>