|
@@ -138,7 +138,7 @@ export default {
|
|
|
let link = document.createElement('a')
|
|
|
link.style.display = 'none'
|
|
|
link.href = url
|
|
|
- link.setAttribute('download', fileName + '.xls')
|
|
|
+ link.setAttribute('download', fileName + '.xlsx')
|
|
|
document.body.appendChild(link)
|
|
|
link.click()
|
|
|
document.body.removeChild(link) // 下载完成移除元素
|