angular - 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>
解决方案
推荐阅读
- android - 如何使用 GridLayout 创建对话框?
- javascript - 如何确定两个 HTML 事件具有相同的来源(然后确定“事件已处理”)
- javascript - 向上滚动添加标题后滚动平滑过渡
- ios - 下载用于在本地通知上显示的图像不起作用
- python - 管道参数无效
- curve-fitting - 未找到最佳参数:函数调用次数已达到 maxfev = 100
- java - 如何将资源 id 传递给自定义视图并指示要为哪个子视图使用它?
- javascript - 将变量传递给后台脚本,并在不使用存储 api 的情况下跨选项卡在其他功能中使用它
- linux - LD_PRELOAD 如何更新库函数
- vb.net - VB WindowsForm 自定义类事件处理程序问题