From 8aa7796f70c4a7903fb85431eaf95e881c6c067d Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期一, 28 四月 2025 18:33:18 +0800 Subject: [PATCH] 优化 --- src/components/pdfview/index.vue | 2 ++ src/App.vue | 2 +- src/books/preschoolEvaluation/view/components/index.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7d4edeb..4ea51cd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -148,7 +148,7 @@ process.env.VUE_APP_RESOURCE_CTX + (process.env.VUE_APP_ENV == "product" ? process.env.VUE_APP_BOOK_ID - : "OralAndBroadcasting") + : "civilAviation") ); // this.activeBook = await this.config.getBookConfig( // 'http://182.92.203.7:3007/books/resource/'+ diff --git a/src/books/preschoolEvaluation/view/components/index.vue b/src/books/preschoolEvaluation/view/components/index.vue index bdb9803..66a4d4c 100644 --- a/src/books/preschoolEvaluation/view/components/index.vue +++ b/src/books/preschoolEvaluation/view/components/index.vue @@ -173,7 +173,7 @@ // 娴嬭瘯椤甸潰璺宠浆 setTimeout(() => { - this.gotoPage(2, 18); + this.gotoPage(2, 34); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", diff --git a/src/components/pdfview/index.vue b/src/components/pdfview/index.vue index 132f0b4..6a0d2f7 100644 --- a/src/components/pdfview/index.vue +++ b/src/components/pdfview/index.vue @@ -105,6 +105,8 @@ }, async downloadPdf() { console.log(this.preViewMd5) + console.log(await getResourcePath(this.preViewMd5),"12345"); + window.open(await getResourcePath(this.preViewMd5)) }, domViewer() { -- Gitblit v1.9.1