Explorar el Código

语法解析警告调整

songxy hace 3 semanas
padre
commit
cb9ea1fdec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 => {