Browse Source

更新下载地址

孙志雷 5 years ago
parent
commit
68f3b6d82a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/browse/index.vue
  2. 1 1
      src/views/fileDetail/index.vue

+ 1 - 1
src/views/browse/index.vue

@@ -76,7 +76,7 @@ export default {
       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 = `${process.env.BASE_API}/download?path=${row.taskFile.path}&fileName=${row.taskFile.fileName}`
+      link.href = `https://whiteboard.ai160.com/download?path=${row.taskFile.path}&fileName=${row.taskFile.fileName}`
       link.setAttribute('download', 'excel.xlsx')
       document.body.appendChild(link)
       link.click()

+ 1 - 1
src/views/fileDetail/index.vue

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