“Duplicates in a repeater are not allowed” on ng-repeat

前端 未结 6 1985
野的像风
野的像风 2021-02-05 06:48

I\'ve got the following json data returned from a service request:

{
    \"entries\": [{
        \"id\": 2081,
        \"name\": \"BM\",
        \"niceName\": \"         


        
6条回答
  •  北恋
    北恋 (楼主)
    2021-02-05 07:15

    duplicates in In ng-repeat is not allowed . Example

        
    
    
        
        
        
    
    
    
        
    First Name Last Name
    {{person.firstName}} {{person.lastName}}

    {{person1.firstName}} {{person1.lastName}}
    {{sayHello()}}

提交回复
热议问题