ng-repeat="todo in todos | orderBy: 'completed'". 这就是我按照Thierry Templier的回答所做的事情:. html模板: *ngFor="#todo of todos | sort". 组件文件:
確定! 回上一頁