介绍完ngFor 中的 index 用法,接下来我们来看一下 trackBy 用法。 ... <ul> <li *ngFor="let grocery of groceries; let i = index; ...
確定! 回上一頁