瀏覽代碼

Merge branch 'dev/v1.0.51_wmh' of jianyu/web into feature/v1.0.51

wenmenghao 1 年之前
父節點
當前提交
26acaad50b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      apps/mobile/src/views/reportAnalysis/reportDownload.vue

+ 4 - 4
apps/mobile/src/views/reportAnalysis/reportDownload.vue

@@ -309,8 +309,8 @@ export default {
             appDownLoadFile(name, types, fileUrl, size)
           })
         } else {
-          // location.href = fileUrl
-          window.open(fileUrl)
+          location.href = fileUrl
+          // window.open(fileUrl)
         }
       } else {
         // fileUrl: 下载地址
@@ -325,8 +325,8 @@ export default {
               }
             })
           } else {
-            window.open(fileUrl)
-            // location.href = fileUrl
+            // window.open(fileUrl)
+            location.href = fileUrl
           }
         } else {
           console.log('获取附件fid失败')