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

This reverts commit 398d59d78a.
This commit is contained in:
Pan 2018-02-22 18:29:09 +08:00
parent 398d59d78a
commit 6938dd3caf

View file

@ -230,16 +230,10 @@ export default {
this.getList()
},
handleSizeChange(val) {
if (this.listQuery.limit === val) {
return
}
this.listQuery.limit = val
this.getList()
},
handleCurrentChange(val) {
if (this.listQuery.page === val) {
return
}
this.listQuery.page = val
this.getList()
},