xiatian 4 lat temu
rodzic
commit
e2ba6e0e69
1 zmienionych plików z 5 dodań i 1 usunięć
  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) {
-      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) {
       this.doSearch(pageNo);