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

getNodes获取的节点的parent属性有问题,无法获取父节点 #183

Open
guohui1992 opened this issue Apr 9, 2020 · 4 comments

Comments

@guohui1992
Copy link

No description provided.

@guohui1992 guohui1992 changed the title getNodes获取节点有问题,不能实时获取节点和父节点信息 getNodes获取的节点的parent属性有问题,无法获取父节点 Apr 16, 2020
@guohui1992
Copy link
Author

[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (:1:142)

@halower
Copy link
Owner

halower commented Apr 16, 2020

加一个参数 true,会包含父节点。 getNodes(true)

@guohui1992
Copy link
Author

加一个参数 true,会包含父节点。 getNodes(true)
不好意思,不太明白这种用法,我本意是想通过勾选子节点,获取该子节点的父节点信息。按照您的这种操作,获取的是整个树的节点数据

@guohui1992
Copy link
Author

加一个参数 true,会包含父节点。 getNodes(true)

我明白了,多谢

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

2 participants