浏览代码

语法解析警告调整

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