ajax接口返回的文件流数据处理方法介绍:function download(res) {if (res.data.type == “application/json”) {let reader = new FileReader();