借助filereader实现将文件编码为base后通过ajax上传