@@ -289,6 +289,10 @@ export default {
getPageConfig() {
return { skip: (this.currentPage - 1) * this.limit, limit: this.limit, currentPage: this.currentPage };
},
+ setPage({ skip, limit }) {
+ let currentPage = skip / limit + 1;
+ this.currentPage = currentPage;
+ },
};
</script>