ZaiZai 1 gadu atpakaļ
vecāks
revīzija
eb820237f4
1 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. 3 4
      src/views/custody/components/tab-reform.vue

+ 3 - 4
src/views/custody/components/tab-reform.vue

@@ -90,18 +90,17 @@ const tabData = ref([
 const tabChange = (item) => {
     tabKey.value = item?.key
     getTableData()
-
 }
 
 //名称被点击
 const tableRowName = (row) => {
-    if (row['pdfFileUrl']) {
-        toPdfPage(row['pdfFileUrl'])
-        //window.open(row['pdfFileUrl'], '_blank')
+    if (row['fileUrl']) {
+        toPdfPage(row['fileUrl'])
     } else {
         window.$message?.warning('文件不存在')
     }
 }
+
 //分页被点击
 const pageChange = ({ current, size }) => {
     searchForm.value.current = current