Ver Fonte

语法解析警告调整

songxy há 3 semanas atrás
pai
commit
cb9ea1fdec
1 ficheiros alterados com 2 adições e 2 exclusões
  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 => {