ing
This commit is contained in:
parent
3db6aa80e6
commit
f7364cf99e
|
@ -30,7 +30,7 @@
|
|||
</tr>
|
||||
</ng-template>
|
||||
</p-table>
|
||||
<p-paginator #paginator [rows]="targetPage.size" [totalRecords]="targetPage.totalElements" [first]="pageIdx "
|
||||
<p-paginator #paginator [rows]="targetPage.size" [totalRecords]="targetPage.totalElements" [first]="(pageIdx-1) * targetPage.size"
|
||||
(onPageChange)="onPaginate($event)"></p-paginator>
|
||||
|
||||
</ng-template>
|
||||
|
|
|
@ -57,6 +57,7 @@ export class ListComponent implements OnInit, OnChanges {
|
|||
|
||||
ngOnInit() {
|
||||
// this.getTargetList();
|
||||
console.log(this.paginator);
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
|
|
Loading…
Reference in New Issue
Block a user