Merge branch 'nbs' into dev

This commit is contained in:
yuweiqi
2020-02-26 17:47:15 +08:00

View File

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