Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted() {
this.loadPage(0);
var me = this;
PaginationEvent.$on('vue-pagination::models', function (page) {
// display the relevant records using the page param
me.loadPage(page - 1);
});
}
}