2023年3月1日

中后端做Excel导出功能返回数据流前端如何做处理

摘要: exportFile(params).then(res => { // 直接返回来就是blob数据 if (res) { const xlsx = 'application/vnd.ms-excel' const blob = new Blob([res], { type: xlsx }) cons 阅读全文

posted @ 2023-03-01 10:44 ranyonsue 阅读(794) 评论(0) 推荐(0) 编辑

导航