Commit 88d1e25e authored by 张冬's avatar 张冬

分页

parent 7d9c3ea0
...@@ -196,13 +196,13 @@ export default { ...@@ -196,13 +196,13 @@ export default {
handleSizeChange(val) { handleSizeChange(val) {
let pageObj = this.pageObj let pageObj = this.pageObj
pageObj.size = val pageObj.size = val
this.list(pageObj) this.getauditList(pageObj)
console.log(`每页 ${val} 条`) console.log(`每页 ${val} 条`)
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
let pageObj = this.pageObj let pageObj = this.pageObj
pageObj.currentPage = val pageObj.currentPage = val
this.list(pageObj) this.getauditList(pageObj)
console.log(`当前页: ${val}`) console.log(`当前页: ${val}`)
}, },
// 查询 // 查询
......
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