-
Notifications
You must be signed in to change notification settings - Fork 22
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
微信小程序中设置renderer问题,节点为image的问题 #127
Comments
|
1、那么想设置renderer为svg要传什么值呢? |
设置节点modelRect,不传container会报这个错误
|
1、 小程序端不支持svg, 除非用webview加载h5 |
好的,谢谢 |
按理说不应该报错了,我这边用例试过了, container 正常传canvas实例进去,是没问题 |
那可能是我使用的姿势不对,我再试试,感谢 |
1、微信小程序中设置renderer:svg/canvas时报错container无效,但实际上官方文档写的是container可以不加或者设置为null,
2、自定义节点和内置节点,只要添加了image相关的,就会报错createImage这个方法不存在,但实际上antvis/f6-wx 的源码里面为什么会存在document.getElementById这种js的原生方法?这是把pc的或者h5的还是什么的源码拷过来没改掉?
The text was updated successfully, but these errors were encountered: