Browse Source

下载地址取值调整

曹冬冬 5 years ago
parent
commit
68211c6bb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/myHistoryTest/myHistoryTest.js

+ 1 - 1
src/views/myHistoryTest/myHistoryTest.js

@@ -157,7 +157,7 @@ export default {
           this.$message.success("下载成功");
           var tempLink = document.createElement("a");
           tempLink.style.display = "none";
-          tempLink.href = res.data.single;
+          tempLink.href = res.single;
           tempLink.setAttribute("download", "用户来源导出表");
           if (typeof tempLink.download === "undefined") {
             tempLink.setAttribute("target", "_blank");