|
@@ -75,7 +75,8 @@ export default {
|
|
|
detail(row) {
|
|
|
const link = document.createElement('a')
|
|
|
link.style.display = 'none'
|
|
|
- link.href = `https://whiteboardtest.ai160.com/download?path=${row.taskFile.path}&fileName=${row.taskFile.fileName}`
|
|
|
+ // link.href = `https://whiteboardtest.ai160.com/download?path=${row.taskFile.path}&fileName=${row.taskFile.fileName}`
|
|
|
+ link.href = `${process.env.BASE_API}/download?path=${row.taskFile.path}&fileName=${row.taskFile.fileName}`
|
|
|
link.setAttribute('download', 'excel.xlsx')
|
|
|
document.body.appendChild(link)
|
|
|
link.click()
|