Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

请问如何设置Mind组件的isRoot? #131

Open
ljhnhlh opened this issue Apr 20, 2021 · 0 comments
Open

请问如何设置Mind组件的isRoot? #131

ljhnhlh opened this issue Apr 20, 2021 · 0 comments

Comments

@ljhnhlh
Copy link

ljhnhlh commented Apr 20, 2021

因为Mind传入一个data,但是data会用react hook来update(其实是传入新的data了,与初始的data差别很大),但是新传入的data,获取graph的数据后,其根节点的isRoot是false,所以想问一下如何设置

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

No branches or pull requests

1 participant