开发者工具可以,真机调试报以下错误
Unhandled promise rejection TypeError: n.Canvas is not a constructor
at t.value (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:2058425)
at t.value (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1719584)
at A (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1719750)
at t.value (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1719861)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:2408781)
at new m (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:67407)
at DI (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:2408743)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:2410207)
at Array.forEach (<anonymous>)
at n (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:2410185)
涉及到两个在线项目核心功能无法使用,请求支援
ios 7.0.21发布了,修复了canvas的问题,麻烦试试看~
这是一个已知问题,我们会尽快进行修复。
这个是微信ios升级到7.0.20的bug,你可以搜索一下7.0.20,能看到大量canvas的bug反馈
好坑啊 我还以为API又更新了,我的代码有问题呢,