使用input:file控件在微信內置瀏覽器上傳文件返回未顯示選擇的文件
原來的寫法:
<input type="file" accept="image/x-png,image/jpeg" />
改成:
<input type="file" accept="image/*" />
解決!
使用input:file控件在微信內置瀏覽器上傳文件返回未顯示選擇的文件
原來的寫法:
<input type="file" accept="image/x-png,image/jpeg" />
改成:
<input type="file" accept="image/*" />
解決!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。