.directive('repeatFinish',function () {
return{
link:function (scope,element,attr) {
// scope.index为当前遍历的位置
console.
angular --监听 ng-repeat 遍历完成
最新推荐文章于 2022-01-21 22:49:56 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)
.directive('repeatFinish',function () {
return{
link:function (scope,element,attr) {
// scope.index为当前遍历的位置
console.