this.pdfPreview = new Pdfh5(this.$refs.pdf, {
pdfurl,
cMapUrl: 'https://unpkg.com/pdfjs-dist@2.0.943/cmaps/'
})
关键参数 cMapUrl: 'https://unpkg.com/pdfjs-dist@2.0.943/cmaps/'
this.pdfPreview = new Pdfh5(this.$refs.pdf, {
pdfurl,
cMapUrl: 'https://unpkg.com/pdfjs-dist@2.0.943/cmaps/'
})
关键参数 cMapUrl: 'https://unpkg.com/pdfjs-dist@2.0.943/cmaps/'