getNodes doesn't working
justmumu opened this issue · 1 comments
justmumu commented
Hi,
When I use getNodes function like this.treeRefs.getNodes({title:"justrying"}, this.treeData, false)
It doesn't return any node. It return a valid data only if I filter root node's information.
But I expect it should return any children if I filter with child title for example.
halower commented
this.$refs.tree1.searchNodes(node =>new RegExp(this.searchword, 'i').test(node.title))