编写通用组件

This commit is contained in:
禾几海
2020-07-01 00:05:00 +08:00
parent e3a4862e13
commit 718a7516af
2 changed files with 19 additions and 6 deletions

View File

@@ -1,4 +1,10 @@
<nz-table>
<nz-table nzTableLayout="fixed"
[nzData]="dataList.list"
[nzTotal]="dataList.total"
[(nzPageIndex)]="dataList.pageNum"
[nzPageSize]="dataList.pageSize"
(nzPageIndexChange)="getData()"
nzFrontPagination="false">
<thead>
<tr>
<ng-container *ngFor="let headData of data">