JavaScript通过filereader接口读取文件 使用FileReader接口的readAsDataURL方法实现图片的预览。源代码:<html><head><metahttp-equ js读取文件