曹冬冬 пре 5 година
родитељ
комит
68211c6bb5
1 измењених фајлова са 1 додато и 1 уклоњено
  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");