提交 6938dd3c 编写于 作者: P Pan

Revert "perf[pagination]: Avoid repeating trigger requests"

This reverts commit 398d59d7.
上级 398d59d7
...@@ -230,16 +230,10 @@ export default { ...@@ -230,16 +230,10 @@ export default {
this.getList() this.getList()
}, },
handleSizeChange(val) { handleSizeChange(val) {
if (this.listQuery.limit === val) {
return
}
this.listQuery.limit = val this.listQuery.limit = val
this.getList() this.getList()
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
if (this.listQuery.page === val) {
return
}
this.listQuery.page = val this.listQuery.page = val
this.getList() this.getList()
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册