Преглед на файлове

语法解析警告调整

songxy преди 3 седмици
родител
ревизия
cb9ea1fdec
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      client/src/views/OaSystem/aiQA/components/AResult.vue

+ 2 - 2
client/src/views/OaSystem/aiQA/components/AResult.vue

@@ -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 => {