We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 使用 setData 设置数据 (非响应式的方式,没有使用 :data 进行双向绑定),怎么修改某个节点的数据例如 title,然后树上此节点马上更新看到效果呢?
需求来源,例如重命名树的节点。
组件版本
The text was updated successfully, but these errors were encountered:
我有两个想法
setData
scrollTop
setNodeTitle(key: string, newTitle: string)
第一个方案比较类似 React setState 了,不过用起来会比较繁琐,要自己去找到节点
setState
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
问题描述
使用 setData 设置数据 (非响应式的方式,没有使用 :data 进行双向绑定),怎么修改某个节点的数据例如 title,然后树上此节点马上更新看到效果呢?
需求来源,例如重命名树的节点。
组件版本
The text was updated successfully, but these errors were encountered: