DAYU

摘要: 当使用ng-repeat指令时,如果绑定的数据源里有重复的数据时,此时数据会绑定失败。 {{i}}此时要在指令内容的最后加上 track by $index 才能绑定成功。 {{i}}官方页面链接:https://docs.angularjs.org/error/ngRepeat/dupes?p0=... 阅读全文
posted @ 2015-02-13 14:44 JacobPei 阅读(97) 评论(0) 推荐(0)
this is a test Bottom