ajax上传图片的时候,苦于刷新与ajax的file处理问题,然后几经周折,发现个神器,达到了自己想要的结果 丢下链接,用起来很简单 https://github.com/LPology/Simple-Ajax-Uploader