//每页条数改变时触发 选择一页显示多少行
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.currentPage = 1;
this.pageSize = val;
this.loadTableData(this.currentPage);
},
//当前页改变时触发 跳转其他页
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.loadTableData(val);
},
分页器点击方法 模板
最新推荐文章于 2024-09-01 13:33:34 发布