angularjs ng-repeat use $index inside ng-model directive

后端 未结 3 1694
走了就别回头了
走了就别回头了 2021-01-27 00:14

Try to use ng-repeat

3条回答
  •  迷失自我
    2021-01-27 00:43

    ng-model is an Angular attribute, you don't need to include the {{}} -- try ng-model="'p' + n"

提交回复
热议问题