這是接口文檔,功能是導出excel表格我的代碼:this.$axios.get('/student/studentDataExport',{
params:{
schoolUid:this.common.getLocal('roleId'),
schoolGradeUid:this.value_grade,
classUid:this.value_class,
name:this.keyword,
pageNum:0,
pageSize:0
}
})
.then(res=>{
console.log(res);
})我用接口文檔的在線調試就可以導出表格,用代碼就不行,第一次遇到這種BINARY響應類型不知道該如何使用
添加回答
舉報
0/150
提交
取消