canvas 2d 官方demo跑起来真机调试报错?
发布于 6 年前 作者 pxia 9581 次浏览 来自 官方Issues

根据官网canvas示例 复制粘贴到项目中 模拟器正常真机报错

当代码执行到\`exec()\`方法得时候会报下面得错误,基础库2.16.0。应该不用片段代码,用官网得demo就能复现。

官网Demo地址:https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html

H.createEvent is not a function
1 回复

体验版可以正常展示二维码。但真机调试不行。

回到顶部