data() {
return {
brends: [],
numberOfPage: 1,
};
},
callApi ('brends', queryParams,'').then((res) => {
this.brends = res.data.data;
var countItem = res.data.count_item;
this.numberOfPage = Math.ceil(countItem / lim);
})