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回调