摘要:
fetch(url).then(res => res.blob()).then(blob => { const a = document.createElement('a') document.body.appendChild(a) a.style.display = 'none' const ur 阅读全文
posted @ 2022-12-10 10:38
小万子呀
阅读(36)
评论(0)
推荐(0)
摘要:
module.exports = function(data, filename, mime, bom) { var blobData = (typeof bom !== 'undefined') ? [bom, data] : [data] var blob = new Blob(blobData 阅读全文
posted @ 2022-12-10 09:00
小万子呀
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号