|
@@ -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;
|