this.$request(url, {'responseType':'blob'}, {
}, res => {
let url = window.URL.createObjectURL(new Blob([res]))
let link = document.createElement('a')
link.style.display = 'none'
link.href = url
link.setAttribute('download', 'excel.xlsx')
document.body.appendChild(link)
link.click()
});
Last modification:October 20, 2021
© Allow specification reprint