Front end. How should I request the interface for exporting the table?

clipboard.png

this is the interface document, and the function is to export excel table

my code:

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);
})

I can export the table with the online debugging of the interface document, but not with the code. I don"t know how to use this BINARY response type for the first time


when debugging the interface documentation page online, open the console and see how it is done.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37a85-2c0a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37a85-2c0a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?