he-tree
he-tree copied to clipboard
Model does not update after drag and drop
It's a really great component. I noticed that the data model, neither flatData nor treeData does not update after drag and drop. is this normal?
Also, AddNode dose not work, It replaces with the previously added node.
yes. it don't update data automatically. Next version will support that.
需要调用方法获取当前数据.
发件人: LittleTom @.> 发送时间: 2022年6月18日 6:10 收件人: phphe/he-tree @.> 抄送: Xinxin @.>; Comment @.> 主题: Re: [phphe/he-tree] Model does not update after drag and drop (Issue #28)
是的。它不会自动更新数据。下一个版本将支持这一点。 请问下目前 Vue3 的版本还无法获取到 drop 更新后的数据是嘛
― Reply to this email directly, view it on GitHubhttps://github.com/phphe/he-tree/issues/28#issuecomment-1159370871, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7W3S3QJO7K4EEYVMZFHR3VPVR4TANCNFSM5YP3CRLQ. You are receiving this because you commented.Message ID: @.***>
when can we expect this Model value issue to be fixed by?
when can we expect this Model value issue to be fixed by?
In version 1, you need call method to get data in drop event. In version 2, you can use updateBehavior to config it.