The value is inserted into this. setDataAtRowProp Why not run?
Take data using Axios Vue does not work why?
hot.addHook(‘beforeChange’, function(changes, source){
var row = changes[0][0];
var prop = changes[0][1];
var value = changes[0][3];
if (prop === 15) {
let url = ‘/dpdraft2/index/getTpsById/’+value;
const my = this;
let res = axios.get(url)
.then(function(response) {
if(response.data){
this.setDataAtRowProp(row, 16, response.data.tps_no);
}
})
.catch(error => console.log(‘error’));
}
});