公众号

react导出Excel表

- - 阅 96
.then(response => response.blob())
        .then(blob => {
            var url = window.URL.createObjectURL(blob);
            var a = document.createElement('a');
            a.href = url;
            a.download = "filename.xlsx";
            a.click();                    
        });
0

本文转载 " "

原文地址 " "

相关文章!