// IE10+ : (has Blob, but not a[download] or URL)
if (navigator.msSaveBlob) {
return navigator.msSaveBlob(blob, fileName);
}
// IE10+ : (has Blob, but not a[download] or URL)
if (navigator.msSaveBlob) {
return navigator.msSaveBlob(blob, fileName);
}
本文标题:a 标签的download属性在ie下不生效的解决方案
本文链接:https://www.haomeiwen.com/subject/uxprwxtx.html
网友评论