pdf-vue3
pdf-vue3 copied to clipboard
vue3 pdf viewer
I got this error when dismounting the component `Error rendering PDF: TypeError: can't access property "parentNode", L is undefined` `R pdf-vue3.js:118` `setup pdf-vue3.js:162`
https://github.com/hymhub/pdf-vue3/blob/8249e9998e6ff2474d3e6af99ee3349d7edfbb8c/src/pdf-vue3.vue#L109 If the URL in the `src` ends with ".PDF" or ".Pdf", not all lower case characters, the URL will be recognised as base64 encoded data.
1、loadingTask和pdf变量请不要使用响应式 let loadingTask:any = null; let pdf: any = null; 2、在onUnmounted生命周期中,添加: pdf = null; loadingTask.destroy(); loadingTask = null;
I'd like to remove the scrollview and have the pdf continue to extend in it's parent.
``` [Vue warn]: Failed to resolve component: PDF If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at at > at at...