فهرست منبع

1.PDF预览优化

liziliang 1 هفته پیش
والد
کامیت
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;