This commit is contained in:
@jyuhsin
2025-06-03 11:47:23 +08:00
parent 19982cb0cf
commit 5a15b9dd71
8 changed files with 42 additions and 21 deletions
@@ -839,17 +839,20 @@ layout("/mobile/platform.html"){
pdfh5 = new Pdfh5('#demo', {
pdfurl: href,
})
this.readPDFPicture(pdfh5)
})
}catch (e) {
this.isPdf = true
//document.addEventListener('click', (event) => this.handleClick(event, [], []))
}
this.$nextTick(() => {
this.readPDFPicture(pdfh5)
})
},
mounted() {
//window.addEventListener('scroll', this.scrollToTop)
},
destroyed() {
beforeDestroy() {
//window.removeEventListener('scroll', this.scrollToTop)
},
})