参考文章:
添加链接描述
取不到就去root取
console.log(this.$refs.tree)
console.log(this.$refs.tree.store.root.childNodes)
console.log(this.$refs.tree.store.nodesMap)
console.log(this.$refs.tree.store._getAllNodes())
参考文章:
添加链接描述
取不到就去root取
console.log(this.$refs.tree)
console.log(this.$refs.tree.store.root.childNodes)
console.log(this.$refs.tree.store.nodesMap)
console.log(this.$refs.tree.store._getAllNodes())