Skip to content

Conversation

@andyowli
Copy link

@andyowli andyowli commented Jun 9, 2022

Using version 4.3.0, add pdf src to the component to render Typeerror: cannot read properties of undefined (reading'catch'), but this does not affect the normal use of the component. Locate the error, and the error is displayed in pdfRender.cancel().catch(function(err) { emitEvent('error', err); });
Just put canceling = true; in front of if ( canceling ),the component will not render this error.

@luisrossi
Copy link

@teckel12
Copy link

teckel12 commented Apr 7, 2023

As this project seems to be abandoned, I created a fork which corrects this bug. The package can be found here:

https://www.npmjs.com/package/@teckel/vue-pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants