使用input:file控件在微信内置浏览器上传文件返回未显示选择的文件

  使用input:file控件在微信内置浏览器上传文件返回未显示选择的文件

    原来的写法:

      <input type="file" accept="image/x-png,image/jpeg" />

    改成:

      <input type="file" accept="image/*" />

    解决!

原文地址:https://www.cnblogs.com/WattWang/p/html1.html