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

页面有多个相同业务数据时,'edge:connected'监听事件中,根据连接桩底部id获取边,不准确 #4536

Closed
GuDuYunChen opened this issue Dec 23, 2024 · 1 comment

Comments

@GuDuYunChen
Copy link

问题描述

拖拽多个相同业务数据data到画布上,链接成功后在'edge:connected'监听事件中,获取链接边的数据错误

重现链接

https://codesandbox.io/p/devbox/sdtxy7?migrateFrom=cygxgy

重现步骤

1.配置相同业务数据进行连线
屏幕截图 2024-12-23 175930
2.在connected中监听 获取本次source链接的边
3.问题 当我从先把右侧全部连好,然后按1,2,3,4的顺序依次链接时从2开始他的右边和下边获取的目标边会依次变多,到4链接完成时他的右边和下班获取的数据变为3条

预期行为

我期望看到实际的链接数据

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Dec 23, 2024

👋 @GuDuYunChen

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