2021-5-24号 这个问题依然存在
webgl调试,预览模式可以,真机模式报错?<!--miniprogram/pages/three.wxml--> <canvas type="webgl" id style="width: 100%; height: 450px;">123</canvas> 只要出现type = “webgl"标签,真机模式下就会报错,但是预览模式下是不会报错的 runtime.js?devtools_ignore=true:1 eval script evaluate_id #34 failed TypeError: Cannot set property 'ontouchstart' of undefined at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1089006) at Array.forEach (<anonymous>) at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1088977) at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:920565) at Object.b (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:78085) at Object.value [as subscribeHandler] (runtime.js?devtools_ignore=true:1) at eval (eval at H (runtime.js?devtools_ignore=true:1), <anonymous>:1:17) at eval (<anonymous>) at H (runtime.js?devtools_ignore=true:1) at ee (runtime.js?devtools_ignore=true:1)
2021-05-24