G6新元素无法选中 #7360
G6新元素无法选中
#7360
Replies: 1 comment
-
是因为在pinia的state里面存储了g6的graph实例,通过markRaw对graph进行包装后再使用,就可以避免上面的问题。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
通过监听点击事件创建了数据,使用setData添加到G6中后,新增的数据无法使用鼠标选中,但可以通过setElementState函数选中,这是为什么?
之前已有元素可以通过鼠标选中。
拖拽会报错:
Uncaught Error: It is illegal to free an event not managed by this EventBoundary
Beta Was this translation helpful? Give feedback.
All reactions