axios.request({ url: url, method: method, responseType: 'blob' }) .then(response => { let data = response.data; let blob = new Blob([data], { type: "" }), objectURL = URL.createObjectURL(blob), $a = document.createElement("a"); blob.lastModifiedDate = new Date(); $a.setAttribute("href", objectURL); $a.setAttribute("download", this.table.currentRow.name); $a.click(); $a = null; })