var blob = new Blob([result], {type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"}),
Temp = document.createElement("a");
Temp.href = window.URL.createObjectURL(blob);
Temp.download =new Date().getTime()+'excel'
$('body').append(Temp);
Temp.click();
前端保存二进制文件流
最新推荐文章于 2024-06-18 20:01:25 发布