Commit eca8de8b authored by wangqinghua's avatar wangqinghua

网站监控 翻页问题

parent 9f49b6ed
......@@ -59,7 +59,7 @@
</div>
</div>
<nz-table #nzTable [nzData]="dataSet" [nzLoading]="loading" [nzTotal]="totalNum" [nzPageIndex]="pageIndex"
[nzPageSize]="pageSize" (nzPageIndexChange)="getwebList()" [nzFrontPagination]="false">
[nzPageSize]="pageSize" (nzPageIndexChange)="change($event)" [nzFrontPagination]="false">
<thead>
<tr>
<th [nzChecked]="allChecked"></th>
......
......@@ -55,6 +55,11 @@ export class NetworkCheckComponent implements OnInit {
this.getCheckStatus();
}
change(e){
this.pageIndex = e;
this.getwebList();
}
//网站列表
getwebList() {
this.loading = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment