单击复选框后页面正在刷新,然后移至下一页

时间:2019-02-05 06:34:44

标签: angularjs

我单击了复选框按钮并选择了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);
      }

0 个答案:

没有答案