From 2cf46debba3809ea0a9f46fde6c82f6a71fcb0e2 Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Fri, 29 Mar 2024 16:16:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86/=E8=AF=91=E6=96=87=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=20=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standardTranslationAcquisitionRequest/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue index e9b882fb0..0c8a0fec4 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue @@ -429,7 +429,7 @@ export default { exportName (name) { const params = { ...this.StandardApplyForEOPage, - exportFileName: name, + exportFileName: name ? name : '标准及译文获取申请', ids: this.selectedList.length > 0 ? this.selectedList.join(',') : '', }; axios({ @@ -451,7 +451,7 @@ export default { link.style.display = 'none'; const objectUrl = URL.createObjectURL(blob); link.href = objectUrl; - link.download = name + '.xlsx'; + link.download = name ? name : '标准及译文获取申请' + '.xlsx'; link.click(); URL.revokeObjectURL(objectUrl); }