From d3a378f8461996d2004eb51ece0dc325d5a0b78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Tue, 6 Dec 2022 17:54:47 +0800 Subject: [PATCH] 12/6 --- src/views/main/BookingLedger/detail/modules/rightContent.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/main/BookingLedger/detail/modules/rightContent.vue b/src/views/main/BookingLedger/detail/modules/rightContent.vue index a30a59e..bcf41cf 100644 --- a/src/views/main/BookingLedger/detail/modules/rightContent.vue +++ b/src/views/main/BookingLedger/detail/modules/rightContent.vue @@ -428,7 +428,6 @@ export default { this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: 'application/pdf;charset=utf-8' })) const fname = data.fileName // 下载文件的名字 const link = document.createElement('a') - console.log(this.pdfUrl) link.href = this.pdfUrl link.setAttribute('download', fname) document.body.appendChild(link)