选择图片绘制图片到画布报错
发布于 6 年前 作者 nasong 5412 次浏览 来自 问答

开发者工具可以,真机调试报以下错误

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)

涉及到两个在线项目核心功能无法使用,请求支援

3 回复

好坑啊 我还以为API又更新了,我的代码有问题呢,

这个是微信ios升级到7.0.20的bug,你可以搜索一下7.0.20,能看到大量canvas的bug反馈

这是一个已知问题,我们会尽快进行修复。

回到顶部