vue-tree icon indicating copy to clipboard operation
vue-tree copied to clipboard

怎么修改某个节点的数据

Open xtuer opened this issue 1 year ago • 1 comments

问题描述 使用 setData 设置数据 (非响应式的方式,没有使用 :data 进行双向绑定),怎么修改某个节点的数据例如 title,然后树上此节点马上更新看到效果呢?

需求来源,例如重命名树的节点。

组件版本

  • Vue3
  • @wsfe/vue-tree ^3.2.0

xtuer avatar Feb 22 '24 03:02 xtuer