[update] 企标导出,后缀改成xls

This commit is contained in:
lideqin
2024-08-26 09:53:33 +08:00
parent 9c3bbfcf0d
commit b4d8f0ffd7
@@ -457,7 +457,7 @@ export default {
const link = document.createElement('a')
link.style.display = 'none'
link.href = url
link.setAttribute('download', fileName + '.xlsx')
link.setAttribute('download', fileName + '.xls')
document.body.appendChild(link)
link.click()
document.body.removeChild(link) // 下载完成移除元素