|
|
@ -231,7 +231,7 @@ function exportAsFile (filename, data) { |
|
|
|
window.navigator.msSaveBlob(blob, filename) |
|
|
|
window.navigator.msSaveBlob(blob, filename) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
const elem = window.document.createElement('a') |
|
|
|
const elem = window.document.createElement('a') |
|
|
|
elem.target = "_blank" |
|
|
|
elem.target = '_blank' |
|
|
|
elem.href = window.URL.createObjectURL(blob) |
|
|
|
elem.href = window.URL.createObjectURL(blob) |
|
|
|
elem.download = filename |
|
|
|
elem.download = filename |
|
|
|
document.body.appendChild(elem) |
|
|
|
document.body.appendChild(elem) |
|
|
|