接下來我們改使用trackby,增加我們的ngFor 參數。 [ngForTrackBy]="trackByFn". 【View】 <ul> <template ngFor let-item [ngForOf]="items" ...
確定! 回上一頁