我正在研究dhtmlxTree和angular js,树已成功加载但是它有错误
Error: [$rootScope:inprog] http://errors.angularjs.org/1.5.8/$rootScope/inprog?p0=%24digest
...f e?JSON.stringify(e):e;d+=c(e)}return Error(d)}}function ta(a) {if(null==a||Va(a...
我的代码是
tree = new dhtmlXTreeObject("treeboxbox_tree", "100%", "100%", 0);
tree.setImagePath("dhx/imgs/dhxtree_skyblue/");
tree.openItem(10);
tree.attachEvent("onClick", function (iid)
{
$scope.taxType.id = iid;
}
var testArray = TaxesService.getTreeData(taxType);
testArray.then(function (response) {
$scope.testArr = response.data;
alert("-->" + $scope.testArr.treeData);
tree.loadJSArray(eval($scope.testArr.treeData));
tree.enableHighlighting(true);
}
如何解决此错误, 任何帮助将不胜感激, 提前谢谢