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

真机上无法获取Chart对象,开发工具上可以正常显示 #294

Open
5102a opened this issue Jun 7, 2020 · 3 comments
Open

真机上无法获取Chart对象,开发工具上可以正常显示 #294

5102a opened this issue Jun 7, 2020 · 3 comments

Comments

@5102a
Copy link

5102a commented Jun 7, 2020

真机上打印Chart为null,开发工具上可以打印出Chart,我只在页面中注册了组件

@hoshea1996
Copy link

我也遇到了同样的问题,开发者工具可以,但是真机调试上无法打印获取到的wx-f2中的chart对象

@5102a
Copy link
Author

5102a commented Jun 13, 2020

我也遇到了同样的问题,开发者工具可以,但是真机调试上无法打印获取到的wx-f2中的chart对象

我后来发现是小程序api的问题,exec和field回调在真机上不会执行回调,导致无法获取canvas的节点对象

@curryhh
Copy link

curryhh commented Jan 15, 2021

我也遇到了怎么解决啊

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

3 participants