src/components/pdfview/index.vue
@@ -56,7 +56,6 @@ } }, watch: { // md5: { // immediate: true, // handler(val) { @@ -83,7 +82,6 @@ // this.viewerCon?.destroy(); // } // }, }, methods: { hadleOpenDialog() { @@ -106,6 +104,7 @@ this.localDialogVisible = true }, async downloadPdf() { console.log(this.preViewMd5) window.open(await getResourcePath(this.preViewMd5)) }, domViewer() {