摘要: 总结:在ng-repeat中ng-model的问题,原因是ng-model对controller中的$scope是不可见的,所以在使用repeat中的某个对象的属性的时候,最好还是将该对象或者该对象的值传到方法中 例: html: js: 调试结果: 阅读全文
posted @ 2015-12-08 11:02 daihere1993 阅读(275) 评论(0) 推荐(0) 编辑