Revert "perf[pagination]: Avoid repeating trigger requests"
This reverts commit 398d59d78a
.
This commit is contained in:
@@ -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()
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user