- 小程序可以使用window.URL对象的相关方法吗?或者有相关API可以满足?
可以使用URL对象吗? objectURL = URL.createObjectURL(object); URL.revokeObjectURL(objectURL)
2020-10-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)
2020-10-19