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 20th, 2021 at 04:27 pm
如果觉得我的文章对你有用,请随意赞赏