♾ A Graph Visualization Framework in JavaScript.
Home Page:https://g6.antv.antgroup.com/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Aolef opened this issue 15 days ago · comments
扩展现有图形,自定义节点后,点击节点时,获取不到数据的id
No response
🆕 5.x
Windows
Chrome
事件对象: event.target.id 元素中:this.id
event.target.id
this.id
第一张图里, event.target.id拿到的是空字符串,但是应该是有值的,是需要继承的时候做什么操作吗