antvis/G6

【V5】5.07版本 ClickSelect 点击选中 Behavior 切换点击报错 #6011

MusicTen posted onGitHub

Describe the bug / 问题描述

使用ClickSelect Behavior,多次切换点击node节点后,会报错

https://stackblitz.com/edit/react-y2jfua?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

多次切换点击node节点,会突然报错。 提示是用edge id去获取node数据导致未找到,从而报错。 猜测是查相邻节点时select数据问题。

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

image


Fund this Issue

$0.00
Funded

Pull requests