修改 文件展示

This commit is contained in:
GGJ
2024-09-24 16:31:24 +08:00
parent e4119a101c
commit d2bedf744d
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ const open = (row: any) => {
// console.log('🚀 ~ open ~ row:', row)
// url.value = row
drawer.value = true
url.value = `/api-doc/excelreport` + row
url.value = `/api-docx/excelreport` + row
// getFileNameAndFilePath({ filePath: row }).then(res => {
// url.value = res.data.url
// })

View File

@@ -81,7 +81,7 @@ const handleNodeClick = (data: any, node: any) => {
flag.value = true
setTimeout(() => {
url.value = `/api-doc/excelreport` + data.url
url.value = `/api-docx/excelreport` + data.url
// getFileNameAndFilePath({ filePath: data.url }).then(res => {
// url.value = res.data.url
// })