Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 AngularJS 中是否可以使用以下概念:字符串和布尔属性?
<li ng-repeat="person in people | filter:'person.isMale'">
尝试
<li ng-repeat="person in people | filter:{isMale:true}">
或者
<li ng-repeat="person in people | filter:{isMale:1}">
取决于您的数据