getExportData(pageData).then((res) => {
let blob = new Blob([res.file], {
type:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
})
let a = document.createElement('a')
a.href = window.URL.createObjectURL(blob)
a.download = res.name
a.click()
})
网友评论