前言 在 Vue Tree 使用的过程中出现了 这个错误 目的 想要通过 this.$refs.tree.setCurrentKey(id) 一直无法选中出现这个错误 解决 一定要加上 node-key = “value” 这里的value根据呢后端传过来的 标志区别 比如 我这边是 id 我写的就是id