Browse Source

更新下载地址

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

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

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

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

@@ -74,7 +74,8 @@ export default {
     detail(row) {
       const link = document.createElement('a')
       link.style.display = 'none'
-      link.href = `https://whiteboardtest.ai160.com/download?path=${row.path}&fileName=${row.fileName}`
+      // link.href = `https://whiteboardtest.ai160.com/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()