downExcelTem = () => { let url = `${config.API_ROOT}/excelTemplateExport` let link = document.createElement('a') link.style.display = 'none' link.href = url link.setAttribute('download', 'sample.xlsx') document.body.appendChild(link) link.click() }
2023-10-27 17:40:52
downExcelTem = () => { let url = `${config.API_ROOT}/excelTemplateExport` let link = document.createElement('a') link.style.display = 'none' link.href = url link.setAttribute('download', 'sample.xlsx') document.body.appendChild(link) link.click() }
下一篇:前端导出下载文件功能