我单击了复选框按钮并选择了2或3个元素,然后移至下一页。我使用复选框选择元素的上一页已刷新。
public reloadDelegates(params) {
console.log("delegate on reload.....", params)
this.delegatePaginationCredentials['offset'] = params['offset'];
this.delegatePaginationCredentials['limit'] = params['limit'];
let exceededOffset = params['offset'] + params['limit'];
if (params['offset'] < 101) {
this.limitDelegates = this.limit;
}
if (exceededOffset > this.maxDelegates) {
this.delegatePaginationCredentials['limit'] =
this.maxDelegates-
params['offset'];
}
this.getDelegates(this.delegatePaginationCredentials);
}