liziliang 1 неделя назад
Родитель
Сommit
a534ef2a0f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/views/base/document/index.vue

+ 1 - 2
src/views/base/document/index.vue

@@ -90,9 +90,8 @@ const testFiles = () => {
 };
 const PDFDrawerViewRef = ref(null);
 const toShowPDF = (row) => {
-  let url = null;
+  let url = '';
   if (row.sourceType == 1) {
-    return row.filePath;
     url = url + row.pdfPath;
   } else if (row.sourceType == 2) {
     url = url + filePath + row.filePath;