var nodes = treeobj.transformToArray(treeobj.getNodes());
if (nodes.length > 0) {
for (var i = 0; i < nodes.length; i++) {
if (nodes[i].Id == noid) {
treeobj.selectNode(nodes[i]);
break;
}
}
}
时间: 2024-11-02 00:15:05