This commit is contained in:
zdg 2024-08-16 16:43:06 +08:00
commit cf477398c9
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>