Angular 4.0
1. 指令:*ngFor
循环带索引的两种方法:
<tr *ngFor="let item of listWorkingDetails index as i" >
或
<tr *ngFor="let item of listWorkingDetails; let i = index" >
Angular 4.0
1. 指令:*ngFor
循环带索引的两种方法:
<tr *ngFor="let item of listWorkingDetails index as i" >
或
<tr *ngFor="let item of listWorkingDetails; let i = index" >