|
@@ -34,8 +34,8 @@ const pdfFiles = computed(() => {
|
|
|
})
|
|
|
const dialogVisible = ref(false)
|
|
|
const pdfIndex = ref<string>()
|
|
|
-const targetViewPdf = computed(() =>
|
|
|
- pdfFiles.value?.find?.(({ index }) => String(index) === String(pdfIndex.value))
|
|
|
+const targetViewPdf = computed(
|
|
|
+ () => pdfFiles.value?.find?.(({ index }) => String(index) === String(pdfIndex.value))
|
|
|
)
|
|
|
|
|
|
const handlePdfView = (fileIndex: string): void => {
|