Ah ha ah ha pure Hand error may have not discovered if errors are found you can tell me oh tap tap
// get request
axiosget(url,data,callback){
axios.get(url,data)
.then(function(response){
callback(response)
});
.catch(function(response){
console.log(
response
);
});
}
// post request
axiospost(url,data,callback){
axios.post (url, data)
.then(function(response) {
callback(response);
})
.catch(function(error) {
console.log(error);
});
}
// Call ----- get and post requests in a different way according to the document
resrt() {
let _this = this; // why would he, because when I was in front of the replacement data have been reported tableData2 undefined. The reason is pointing to a problem ===== (oh ho ho Lee chubby super-powerful)
this.myAxiosPost(
"/um/permission/list",
{
pageno: 1;
pageSize: 10
},
function(response) {
console.log(response);
}
);
},