this is the parameter required by the backend.
if the parameters are all written in body, I will write this.
if the parameters are all written in query, I will write this.
Theparameter is written in both body and query.
I tried. No.
this.$axios.get("/back/content/list",{
params:{
pageNo:this.page_current, //
pageSize:this.page_number, //
}
},
{
author:"",
title:"",
channelId:"",
status:"",
isFreeType:"",
audit:""
})
.then(res=>{
if(res.meta.code == 200){
this.loading = false;
this.tableData = res.data.dataList.list; //list
this.allTotal = res.data.dataList.total; //
}
})