xiatian 4 년 전
부모
커밋
e2ba6e0e69
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/modules/oe/views/export_task_list.vue

+ 5 - 1
src/modules/oe/views/export_task_list.vue

@@ -230,7 +230,11 @@ export default {
       });
       });
     },
     },
     download(row) {
     download(row) {
-      window.location.href = row.filePath;
+      let opath = row.filePath;
+      let indx = opath.lastIndexOf("/");
+      let head = opath.substring(0, indx + 1);
+      let tail = opath.substring(indx + 1);
+      window.location.href = head + encodeURIComponent(tail);
     },
     },
     handlePagerNo(pageNo) {
     handlePagerNo(pageNo) {
       this.doSearch(pageNo);
       this.doSearch(pageNo);