Commit 1222ad3b by 王昆

gsb

parent 0e713dc0
...@@ -87,10 +87,12 @@ var app = new Vue({ ...@@ -87,10 +87,12 @@ var app = new Vue({
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val; this.pageSize = val;
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
this.getItemPage();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val; this.currentPage = val;
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
this.getItemPage();
}, },
}, },
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment