Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted() {
//实例化
this.pdfh5 = new Pdfh5("#demo", {
pdfurl: "//www.gjtool.cn/pdfh5/git.pdf",
renderType:"canvas",
lazy:true
});
//监听完成事件
this.pdfh5.on("complete", function(status, msg, time) {
console.log(
"状态:" +
status +
",信息:" +
msg +
",耗时:" +
time +
"毫秒,总页数:" +
this.totalNum
);