Please see the details. Why is the output wrong?
HTML:
相关标签: 1条回答 深忆病人 2021-01-02 07:50 Remove the quotes from '-1' and send true to the filter to do a strict comparison. ng-repeat="t in todos | filter:{ id: -1}:true" 0 讨论(0) 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Remove the quotes from '-1' and send true to the filter to do a strict comparison.
true
ng-repeat="t in todos | filter:{ id: -1}:true"