<embed
:src="`${ur}#toolbar=0&navpanes=0&scrollbar=0`"
type="application/pdf"
width="100%"
height="520px;"
/>
<embed
:src="`${url}`"
type="application/pdf"
width="100%"
height="520px;"
/>
this.url = "http://storage.xuetangx.com/public_assets/xuetangx/PDF/PlayerAPI_v1.0.6.pdf";
注:
设置 标签的 type=“application/pdf”
设置 宽、高
配置 src - toolbar、navpanes、scrollbar 用于设置操作状态栏是否显示