axios.get('/system/platform/feedbackManager/findBuyUserFedbackPage', {
responseType: 'blob',
params: data
}).then(res => {
let url = window.URL.createObjectURL(new Blob([res.data]));
let link = document.createElement("a");
link.style.display = "none";
link.href = url;
link.setAttribute("download", this.$route.meta.title + ".xlsx");
document.body.appendChild(link);
console.log(res);
link.click();
})
网友评论