angular.js - $index value after ng-repeat filtering does not match?
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 16:58:42
0
2
574

After ng-repeat is filtered by a certain condition, how can we get the data length after being filtered by this condition? ? ?

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
给我你的怀抱

Rough method: {{(list | filter : f).length}},最好不要这样用,最好在controllerfilterYeah

曾经蜡笔没有小新

http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template