提交 398d59d7 编写于 作者: P Pan

perf[pagination]: Avoid repeating trigger requests

上级 dc35d1ae
......@@ -230,10 +230,16 @@ 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()
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册