<div id="demo" style="width:100%;margin-top:31px"></div>
FilePDFViewFun() {
let than = this;
FilePDFView({ param: this.param }).then(res => {
this.pdfh5 = new Pdfh5("#demo", {
data: res.data,
renderType: "canvas",
});
var arr = [];
this.pdfh5.on("complete", function (status, msg, time) {
console.log("状态:" + status + ",信息:" + msg + ",耗时:" + time + "毫秒,总页数:" + this.totalNum)
if (status == 'success') {
let div = document.getElementsByClassName("pageContainer")
than.$nextTick(() => {
for (let i = 0; i < div.length; i++) {
arr.push(div[i].getElementsByT