angular *ngFor 獲取index

在.html文件中:html <tr *ngFor="let data of nzTable.data;let i = index" [attr.data-index]="i">3d 在.ts文件中:htm
相關文章
相關標籤/搜索