|
@@ -88,7 +88,10 @@ const testFiles = () => {
|
|
|
form.value.filePath = pdfUrlList.value[0];
|
|
|
};
|
|
|
const PDFDrawerViewRef = ref(null);
|
|
|
-const toShowPDF = (row) => {};
|
|
|
+const toShowPDF = (row) => {
|
|
|
+ let url = import.meta.env.VITE_APP_UPLOAD_URL + row.filePath;
|
|
|
+ PDFDrawerViewRef.value && PDFDrawerViewRef.value.showPdf(url);
|
|
|
+};
|
|
|
const filePath = import.meta.env.VITE_APP_UPLOAD_URL;
|
|
|
const test = () => {
|
|
|
isShowTable.value = true;
|