From 7fc7135d7306dfeebce405e2eba6319e05750f30 Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Fri, 16 Aug 2024 14:33:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AF=BE=E4=BB=B6=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E7=9A=84;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classBegins/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/views/classBegins/index.vue b/src/renderer/src/views/classBegins/index.vue index 5876c9c..a0f8d07 100644 --- a/src/renderer/src/views/classBegins/index.vue +++ b/src/renderer/src/views/classBegins/index.vue @@ -99,10 +99,10 @@ const switchPageMode = () => { pdfCanvaslist.value.initPdf('rest') } } -onMounted(async () => { +onMounted(async () => { toolState.isPdfWin=true //设置打开pdf窗口 - // pdfObj.pdfUrl = getStaticUrl(route.query.path, 'user', 'selfFile', true) //线上 - pdfObj.pdfUrl = getStaticUrl('aaa.pdf', 'user', 'selfFile', true) //本地 + pdfObj.pdfUrl = getStaticUrl(route.query.path, 'user', 'selfFile', true) //线上 + // pdfObj.pdfUrl = getStaticUrl('aaa.pdf', 'user', 'selfFile', true) //本地 textbookId.value = route.query.textbookId pdfObj.bookId=textbookId.value //初始化获取接口数据 @@ -164,4 +164,4 @@ const getUniqueArrayByLastOccurrence=(array)=> { } } } - \ No newline at end of file +