摘要: 一》 首先配置一下axios的responseType文件格式为blob // 下载文件处理文件流的配置 let axios2 = axios.create({ responseType: "blob", }); 二》 生成Excel表 其中data是请求返回的文件流 1 // 生成Excel // 阅读全文
posted @ 2021-01-13 16:15 浪魔 阅读(1794) 评论(0) 推荐(0) 编辑