downErrorExcel() {
getdownAjax(
url +
upmsUrl +
"/admin/teacher/download/excel/error/" +
this.uploadError_downId,
{ responseType: "blob" }
).then(res => {
let blob = new Blob([res], { type: "application/vnd.ms-excel" }); // res就是接口返回的文件流了
let objectUrl = URL.createObjectURL(blob);
window.location.href = objectUrl;
});
},