【发布时间】:2016-08-23 17:50:42
【问题描述】:
我正在尝试使用 ivhTreeviewBfs (https://github.com/iVantage/angular-ivh-treeview#ivhtreeviewbfstree-opts-cb)
ivhTreeviewBfs(myTree, function(node) {
console.log(node)
})
但是这只会打印第一级节点。如何遍历整个列表?
【问题讨论】:
-
请提供更多的细节,至少是一个笨蛋!
-
你可以在这里查看示例jsbin.com/wofunu/1/edit?html,js,output
标签: angularjs tree treeview breadth-first-search treecontrol