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