trackBy 函数将索引和迭代元素作为参数,并返回该项目的唯一标识符(ID)。 @Component({ selector: 'my-app', template: ` <ul> <li *ngFor="let item ...
確定! 回上一頁