fix: pdf not found
This commit is contained in:
parent
58aea36328
commit
6103a05660
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
|
|||
>
|
||||
<VuePDF
|
||||
v-if="
|
||||
currentFile?.url?.endsWith('.pdf') ||
|
||||
currentFile?.url?.split('?').at(0)?.endsWith('.pdf') ||
|
||||
currentFile?.file?.type === 'application/pdf'
|
||||
"
|
||||
class="q-py-md"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue