其實任何* ngFor完成循環的條件:index < array.length。 ... + 2].id</small> </div> <div *ngIf="whichRowType(i) == 2"> <small>pic[whichIndex(i)].id</small> ...
確定! 回上一頁