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
如果觉得我的文章对你有用,请随意赞赏