Using shallowRef instead of ref seems to work. We don't need Vue's reactivity system to deeply track the internal properties of the PDFDocumentProxy object.
shallowRef
ref
PDFDocumentProxy