angular.js - angularJS中的ng-repeat
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 16:58:39
0
6
542

同志们,知道怎么通过ng-repeat按照json中性别的不同放到指定ul中吗?急!急!急!在线等。。。。

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

reply all(6)
阿神

You can use ng-if to make judgments. Just judge two ul templates in one

phpcn_u1582

Why not first divide the json into two groups of men and women, and then use repeat respectively?

大家讲道理

Can I use a filter?

滿天的星座

Divide into 2 groups. This is the easiest and fastest. ng-if does not approve

PHPzhong

Can you describe the problem clearly

洪涛

It seems that it can only be filtered through channels. Different ULs have different genders

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