From b4d8f0ffd7ece778caab3dc4ffe025c1fbd1b127 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 26 Aug 2024 09:53:33 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=EF=BC=8C=E5=90=8E=E7=BC=80=E6=94=B9=E6=88=90xls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/EnterpriseStandardList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue index 0ed98fc..bfc3834 100644 --- a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue +++ b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue @@ -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) // 下载完成移除元素