{"action":"created","issue":{"url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/485","repository_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd","labels_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/485/comments","events_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/485/events","html_url":"https://github.com/NG-ZORRO/ng-zorro-antd/issues/485","id":268969669,"number":485,"title":"table组件动态加载下一页数据问题","user":{"login":"okuc","id":2579094,"avatar_url":"https://avatars0.githubusercontent.com/u/2579094?v=4","gravatar_id":"","url":"https://api.github.com/users/okuc","html_url":"https://github.com/okuc","followers_url":"https://api.github.com/users/okuc/followers","following_url":"https://api.github.com/users/okuc/following{/other_user}","gists_url":"https://api.github.com/users/okuc/gists{/gist_id}","starred_url":"https://api.github.com/users/okuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okuc/subscriptions","organizations_url":"https://api.github.com/users/okuc/orgs","repos_url":"https://api.github.com/users/okuc/repos","events_url":"https://api.github.com/users/okuc/events{/privacy}","received_events_url":"https://api.github.com/users/okuc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T02:30:28Z","updated_at":"2017-10-27T02:42:40Z","closed_at":null,"author_association":"NONE","body":"在html中，使用 (nzPageIndexChange)=\"queryData()\"来获取下一页数据，[(nzPageIndex)]=\"_pageIndex\"绑定页数。\r\n但是当程序运行后，默认显示第一页。点击第二页按扭时，在queryData()方法中发现_pageIndex仍然为1，再继续点击第三页按扭，发现_pageIndex成了2，想问下这个问题 怎么解决？\r\n是不是我的使用方式不对？\r\n谢谢。"},"comment":{"url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/comments/339857102","html_url":"https://github.com/NG-ZORRO/ng-zorro-antd/issues/485#issuecomment-339857102","issue_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/485","id":339857102,"user":{"login":"okuc","id":2579094,"avatar_url":"https://avatars0.githubusercontent.com/u/2579094?v=4","gravatar_id":"","url":"https://api.github.com/users/okuc","html_url":"https://github.com/okuc","followers_url":"https://api.github.com/users/okuc/followers","following_url":"https://api.github.com/users/okuc/following{/other_user}","gists_url":"https://api.github.com/users/okuc/gists{/gist_id}","starred_url":"https://api.github.com/users/okuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okuc/subscriptions","organizations_url":"https://api.github.com/users/okuc/orgs","repos_url":"https://api.github.com/users/okuc/repos","events_url":"https://api.github.com/users/okuc/events{/privacy}","received_events_url":"https://api.github.com/users/okuc/received_events","type":"User","site_admin":false},"created_at":"2017-10-27T02:42:40Z","updated_at":"2017-10-27T02:42:40Z","author_association":"NONE","body":"完整的代码如下：\r\n\r\n`  <nz-table #nzTable [nzAjaxData]=\"_dataSet\" [nzTotal]=\"_recordsTotal\"  (nzPageIndexChange)=\"queryData()\" (nzPageSizeChange)=\"queryData()\" [nzShowTotal]=true [(nzPageSize)]=\"_pageSize\" [(nzPageIndex)]=\"_pageIndex\" [nzShowSizeChanger]=\"true\">\r\n    <thead nz-thead>\r\n      <tr>\r\n        <th nz-th><span>编号</span></th>\r\n        <th nz-th><span>姓名</span></th>\r\n        <th nz-th><span>电话</span></th>\r\n        <th nz-th><span>地址</span></th>\r\n        <th nz-th><span>创建时间</span></th>\r\n      </tr>\r\n    </thead>\r\n    <tbody nz-tbody>\r\n      <tr nz-tbody-tr *ngFor=\"let data of nzTable.data\">\r\n        <td nz-td>\r\n          <a>{{data.id}}</a>\r\n        </td>\r\n        <td nz-td>{{data.name}}</td>\r\n        <td nz-td>{{data.telephone}}</td>\r\n        <td nz-td>{{data.address}}</td>\r\n        <td nz-td>{{data.createTime}}</td>\r\n      </tr>\r\n    </tbody>\r\n  </nz-table>`"}}
{"actor":{"display_login":"okuc"}}