解决发票类pdf展示不全问题

This commit is contained in:
liyulin 2022-12-29 13:47:33 +08:00
parent 69005ef93c
commit 0c0fcfe1d8

View File

@ -65,7 +65,7 @@ export default {
url: this.src, url: this.src,
cMapUrl: `${this.staticFileUrl.endsWith('/') ? this.staticFileUrl : this.staticFileUrl + '/'}cmaps/`, cMapUrl: `${this.staticFileUrl.endsWith('/') ? this.staticFileUrl : this.staticFileUrl + '/'}cmaps/`,
cMapPacked: true, cMapPacked: true,
// enableXfa: ENABLE_XFA, enableXfa: true,
}); });
loadingTask.promise.then((pdfDocument) => { loadingTask.promise.then((pdfDocument) => {
this.document = pdfDocument; this.document = pdfDocument;