From 0830b83f3eb4eef83fde80d9c67ff2581a8bba3c Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Wed, 26 Feb 2020 17:45:31 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]nbs-nbs=E5=88=86=E6=9E=90=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E4=B8=8B=E8=BD=BD=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/nbs/PDF.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ebiz/nbs/PDF.vue b/src/views/ebiz/nbs/PDF.vue index cb0b5fd42..88536d437 100644 --- a/src/views/ebiz/nbs/PDF.vue +++ b/src/views/ebiz/nbs/PDF.vue @@ -12,8 +12,8 @@ export default { }, created() { const pdfUrl = encodeURIComponent(config.imgDomain + '/returnDirectStream?imgPath=' + encodeURIComponent(this.$route.params.id)) //id被转换了一下,所以要转换回去 - this.pdfUrl = location.origin + '/pdfjs/web/viewer.html?file=' + pdfUrl this.downLoadUrl = pdfUrl + this.pdfUrl = location.origin + '/pdfjs/web/viewer.html?file=' + pdfUrl setTimeout(() => { this.filterBtn() // 初始化下载按钮 window.appCallBack = this.appCallBack //app回调