antvis/G6

树图updatechildren时id被覆盖 #3172

lisyzz posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://github.com/lisyzz/test1.git

Steps to reproduce

将需要新增的节点数据放入数组中,如果按索引顺序点击新增则正常,否则所选节点的id会覆盖索引为所选节点索引-1的节点id(例如选择节点索引为2,则索引为1的节点id会变成索引为2节点的id)

Environment Info
g6 4.3.3
System -
Browser -

案例中点击搜索出现弹层,顺序点击选项正常显示,逆序点击会出现问题

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests