1

我在使用 ng-grid 的页面加载时收到此错误。有没有人从下面的错误中得到任何线索,为什么我会收到这个错误。

这些只是错误的前几行

Microsoft JScript runtime error: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["renderedColumns; 
newVal: [{\"width\":25,\"groupIndex\":0,\"isGroupedBy\":false,\"minWidth\":50,\"maxWidth\":9000,\"headerRowHeight\":30,\"displayName\":\"\\u2714\",\"index\":0,\"cellFilter\":\"\",\"field\":\"\\u2714\",\"visible\":true,\"sortable\":false,\"resizable\":false,\"pinnable\":false,\"originalIndex\":0,\"groupable\":false,\"cursor\":\"default\",\"headerCellTemplate\":\"<input class=\\\"ngSelectionHeader\\\" type=\\\"checkbox\\\" ng-show=\\\"multiSelect\\\" ng-model=\\\"allSelected\\\" ng-change=\\\"toggleSelectAll(allSelected)\\\"/>\",\"cellTemplate\":\"<div class=\\\"ngSelectionCell\\\"><input tabindex=\\\"-1\\\" class=\\\"ngSelectionCheckbox\\\" type=\\\"checkbox\\\" ng-checked=\\\"row.selected\\\" /></div>\"}]; 

oldVal: [{\"width\":25,\"groupIndex\":0,\"isGroupedBy\":false,\"minWidth\":50,\"maxWidth\":9000,\"headerRowHeight\":30,\"displayName\":\"\\u2714\",\"index\":0,\"cellFilter\":\"\",\"field\":\"\\u2714\",\"visible\":true,\"sortable\":false,\"resizable\":false,\"pinnable\":false,\"originalIndex\":0,\"groupable\":false,\"cursor\":\"default\",\"headerCellTemplate\":\"<input class=\\\"ngSelectionHeader\\\" type=\\\"checkbox\\\" ng-show=\\\"multiSelect\\\" ng-model=\\\"allSelected\\\" ng-change=\\\"toggleSelectAll(allSelected)\\\"/>\",\"cellTemplate\":\"<div class=\\\"ngSelectionCell\\\"><input tabindex=\\\"-1\\\" class=\\\"ngSelectionCheckbox\\\" type=\\\"checkbox\\\" ng-checked=\\\"row.selected\\\" /></div>\"}]","viewportStyle(); 
4

0 回答 0