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

viser-react的chart组件的onClick函数有坑! #589

Open
huangup opened this issue Aug 6, 2021 · 0 comments
Open

viser-react的chart组件的onClick函数有坑! #589

huangup opened this issue Aug 6, 2021 · 0 comments

Comments

@huangup
Copy link

huangup commented Aug 6, 2021

onClick的函数内直接引用函数外面的变量时,函数内获取不到函数外部的变量的最新的值,引用的变量始终是初始值!!!

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

1 participant