input file控件限制上传文件类型 Html5 FileReader 对文件进行Base64编码 FileReader.readAsDataURL 转载于:https://www.cnblogs.com/xuezhimeng/p/5949177.html