Merge pull request 'fix:课件改为线上的;' (#145) from yangws into main

Reviewed-on: #145
This commit is contained in:
yangws 2024-08-16 14:34:40 +08:00
commit f8eece2ff6
1 changed files with 4 additions and 4 deletions

View File

@ -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)=> {
}
}
}
</style>
</style>