- canvas无法捕获bindtouchstart、bindtouchmove等事件坐标
https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html 1,webgl和2d真机不显示canvas内容 2,真机上无法捕获坐标 {type: "touchstart", timeStamp: 10015, target: {…}, touches: Array(1), changedTouches: Array(1)}changedTouches: [{…}]target: {id: "myCanvas", target: "myCanvas", dataset: {…}, offsetTop: 23, offsetLeft: 0}timeStamp: 10015touches: [{…}]type: "touchstart"__proto__: Object VM33:2 Wed May 06 2020 21:23:27 GMT+0800 (中国标准时间) 事件警告 VM33:2 Do not have end handler in component: pages/test/test. Please make sure that end handler has been defined in pages/test/test. E @ VM33:2 (anonymous) @ VM33:2 (anonymous) @ VM33:2 (anonymous) @ VM33:2 (anonymous) @ VM33:2 i.emit @ VM33:2 emit @ VM33:2 (anonymous) @ VM33:2 (anonymous) @ VM33:2 m @ VM33:2 value @ runtime.js?devtools_ignore=true:1 (anonymous) @ VM186:1 c @ runtime.js?devtools_ignore=true:1 w @ runtime.js?devtools_ignore=true:1 ke.onmessage @ runtime.js?devtools_ignore=true:1 test.js? [sm]:81 undefined undefined test.js? [sm]:82 {type: "touchstart", timeStamp: 12444, target: {…}, touches: Array(6), changedTouches: Array(1)}changedTouches: [{…}]target: {id: "myCanvas", target: "myCanvas", dataset: {…}, offsetTop: 23, offsetLeft: 0}timeStamp: 12444touches: (6) [ƒ, ƒ, ƒ, ƒ, ƒ, {…}]type: "touchstart"__proto__: Object 大致可能的原因是冒泡事件冲突,但是真机不显示图片这事儿还是无解 华为p20pro,微信版本7.0.13, 基础库版本2.11.0 最小demo https://developers.weixin.qq.com/s/ZWcvi9mk7Khn
2020-05-06 - 小程序用户数据解密报错
javax.crypto.IllegalBlockSizeException: last block incomplete in decryption 总之报这个错,求解。查了好多文档,有的说需要url解密,有的说需要再来一次base64 加密,小程序这都是些什么坑,能不能在文档里写清楚。 求大神解答
2019-07-17 - image组件显示空白
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 可以正常显示 - 复现路径 pages/order/order.wxml - 提供一个最简复现 Demo [图片] - 其它描述: 特意bindload 和binderr,触发了bindload ,图片按照宽高占用了一篇区域,但是空白的。如果setData时,url是直接一个字符串,图片就能显示出来。 如果是从storage中取出,或者通过一个中间变量,就不显示。 小程序总共6个页面,出现问题的是顺序下来的流程里的第4个页面。前几个页面的image表现都是正确的
2019-07-12