From 300c757bd9c99bc240f1f79be4d6b1d2534ebc22 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 03 四月 2025 10:48:29 +0800 Subject: [PATCH] 会议修改(4.3) --- src/components/pdfview/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/components/pdfview/index.vue b/src/components/pdfview/index.vue index a295a3a..132f0b4 100644 --- a/src/components/pdfview/index.vue +++ b/src/components/pdfview/index.vue @@ -104,6 +104,7 @@ this.localDialogVisible = true }, async downloadPdf() { + console.log(this.preViewMd5) window.open(await getResourcePath(this.preViewMd5)) }, domViewer() { @@ -170,13 +171,16 @@ .then((res) => { try { if (typeof res === 'string' && res !== null) { + console.log(134) this.totalPage = JSON.parse(res).totalPages } else if (typeof res === 'object' && res !== null) { + console.log(res.totalPages) this.totalPage = res.totalPages } } catch (error) { console.log(error, 'pdf杩斿洖鍊肩被鍨嬮敊璇�'); } + console.log(this.currentPage,"111") this.createDom(this.currentPage) this.loading = false }) -- Gitblit v1.9.1