antvis/G6

使用 graph.updateChild 更新数据 增加 children 数据会展开后秒收回 #5129

liangdongyan posted onGitHub

问题描述

使用 graph.updateChild 更新数据 增加 children 数据会展开后秒收回

重现链接

https://codesandbox.io/s/nervous-moore-gs9jq2?file=/src/App.vue

重现步骤

进入页面后 点击 最左侧 node 将会动态获得children 数据并使用 updateChild 就会出现展开收起效果 数据已更新后展开收起正常

预期行为

期望数据更新后直接就是展开的不会秒收起

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


hi @liangdongyan, welcome!

posted by github-actions[bot] over 1 year ago

Hi @liangdongyan, Please star this repo if you find it useful! Thanks :star:! 你好 @liangdongyan。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests