首页 > 解决方案 > pdfviewer:无法读取未定义的属性“FontInspector”?

问题描述

查看 pdf 我使用模块 ng2-pdf-viewer 我使用这行代码

<pdf-viewer *ngIf="pub.PieceJointesPublications[0]&&pub.PieceJointesPublications[0].type=='Pdf'" [src]="BasicUrl +pub.PieceJointesPublications[0].path" [original-size]="false" [zoom]="0.5" [show-all]="false" [render-text]="true" style="display: block; position: relative;"></pdf-viewer>
任何人都知道如何解决此错误:core.js:1449 错误错误:未捕获(承诺中):TypeError:无法读取未定义的属性“FontInspector”

标签: angularpdf-viewer

解决方案


推荐阅读