Skip to content
New issue

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

修改节点id失败 #4077

Open
xiaoyao980804 opened this issue Dec 5, 2023 · 1 comment
Open

修改节点id失败 #4077

xiaoyao980804 opened this issue Dec 5, 2023 · 1 comment

Comments

@xiaoyao980804
Copy link

Describe the bug

通过setProp修改id,使用prop()方法与直接访问元素所获取的id不一致

image

Your Example Website or App

https://x6.antv.antgroup.com/examples/showcase/practices/#dag

Steps to Reproduce the Bug or Issue

按照描述便编写代码即可

Expected behavior

id修改后直接访问节点的id应该与prop()函数返回的数据已知

Screenshots or Videos

No response

Platform

  • OS: [macOS 13.6.1]
  • Browser: [119.0.6045.199(正式版本) (arm64)]
  • Version: [2.16.1]

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Dec 5, 2023

👋 @sqlyr

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant