diff --git a/src/Pdfvuer.vue b/src/Pdfvuer.vue index 00b3447..fd6dfa1 100644 --- a/src/Pdfvuer.vue +++ b/src/Pdfvuer.vue @@ -226,6 +226,7 @@ export default { var self = this; if (self.pdfViewer) { self.pdfViewer.destroy(); + self.pdfViewer = null; } } }