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

BUG:微信小程序中切换页面后TreeGraph损坏 #178

Open
mengycs opened this issue Oct 28, 2024 · 0 comments
Open

BUG:微信小程序中切换页面后TreeGraph损坏 #178

mengycs opened this issue Oct 28, 2024 · 0 comments

Comments

@mengycs
Copy link

mengycs commented Oct 28, 2024

现象:TreeGraph渲染完成后失效,点击无反应
版本号:"@antv/f6-wx": "^0.0.7"
IDE:微信开发者工具stable1.05.2204250
小程序基础库:3.4.6
对象容器:f6-canvas,小程序原生渲染方式
图类型:树图会遇到,一般图不会遇到这个问题
详细描述:在容器初始化时所用的“bind:onInit”回调中所保存的ctx对象损坏,其width字段变为了NAN。虽然对象损坏了,不过不影响在init中所进行的初次渲染,初次渲染的结果是正确的。
出现场景:
开发工具模拟器:不会出现
安卓真机(华为系统):扫码二维码重新进入小程序时会出现。
苹果真机:切后台再返回时会出现。
临时应对:目前只能重新加载小程序。
其他信息:控制台提示警告“Canvas_left will be removed, DO NOT USE IT.”,不清楚是否是缓存时使用了这个数据导致异常。

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