Angular4.0中常用指令时间:2023-03-09 08:36:38 Angular 4.0 1. 指令:*ngFor 循环带索引的两种方法: <tr *ngFor="let item of listWorkingDetails index as i" >或<tr *ngFor="let item of listWorkingDetails; let i = index" > 参考自:https://blog.****.net/qq_36279445/article/details/79310519