摘要: 1.将bloburl转换为file格式 let data = { name: "新年致辞.png", status: "success", uid: 1664334311149, url: "blob:http://localhost:9528/d66ad67a-eef7-4b47-ae8b-5c3 阅读全文
posted @ 2022-09-28 11:26 龙儿哥哥的博客 阅读(2389) 评论(0) 推荐(0) 编辑
摘要: 1.通过接口获取二进制文件流 export const getModuleExel = () => { return request({ url: `test/file`, method: 'get', responseType: 'blob' //此处一定要设置称blob格式,不然下载的文件会出现 阅读全文
posted @ 2022-09-28 10:51 龙儿哥哥的博客 阅读(90) 评论(0) 推荐(0) 编辑