1.需要下载pdf.js 2. 页面使用 <iframe :src="urlValue" width="100%" height="100%"></iframe> pdf.js 是放到服务器上的 PDF_URL 服务器地址 pdf/web/viewer.html 服务器上viewer 地址 放服务器上需要解析encodeURIComponent 本地的不需要 3. 代码使用 this.pdfInfo.