解决办法: 在将ng-repeat改成如下格式即可解决: ng-repeat="pojo in permissionList track by
i
d
(
id(
id(index) " 这是一个有点坑的地方,不过以后记着加上track by 问题就不大了… 主要是因为ng-repeat不能循环重复的对象。
AngualrJs关于ng-repeat中的大坑,"$$hashKey":“006”在使用ng-repeat的时候从页面获取的pojo对象并不是原来的对象了而是如下图附带了"$$hashKey":“006”解决办法:在将ng-repeat改成如下格式即可解决:ng-repeat="pojo in permissionList track by id(id(id(index) "这是一...