To get the value of the index, we also need to assign "index" to that variable. example.component.html. <ul> <li *ngFor="let element of array; ...
確定! 回上一頁