Cause: IE9 does not support BLOB solution for downloading and exporting PDFS
Solution: Build hidden iframes for download and export
if (isIE9) {
const fileHref = http://*****;
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
iframe.src = fileHref;
iframe.onload = function() {
document.body.removeChild(iframe);
};
}
Copy the code