+1,吐槽一下微信官方
微信小程序右滑动关闭关闭当前页面,如何禁止这个事件微信小程序向右滑动可以关闭当前页面,可是我不想让用户滑动关闭当前页面,该如何屏蔽这个动作?
2022-01-26我是设定 src = 已下载的图像的本地路径时,报 500 错误
临时文件 500 (Internal Server Error) ?将base64图片转binary后存到临时文件中, 通过getImageInfo可以得到图片信息并执行success回调, 我在回调中将图片画到canvas上时报错(偶尔会出现), 出现后必须清除小程序缓存 目前我设置了15秒的定时器, 没有成功画出图则进行提示 info {errMsg: "getImageInfo:ok", width: 280, height: 280, type: "jpeg", orientation: "up", …} errMsg: "getImageInfo:ok" height: 280 orientation: "up" path: "http://usr/tmp_base64src.jpeg" type: "jpeg" width: 280 __proto__: Object tmp_base64src.jpeg:1 GET http://usr/tmp_base64src.jpeg 500 (Internal Server Error) Image (async) set src@VM1270:1 success@detail.js? [sm]:254i. @VM1286 WAService.js:2h@VM1286 WAService.js:2(anonymous)@VM1286 WAService.js:2y@VM1286 WAService.js:2v@VM1286 WAService.js:2(anonymous)@VM1286 WAService.js:2(anonymous)@VM1284 asdebug.js:1h@VM1286 WAService.js:2(anonymous)@VM1286 WAService.js:2(anonymous)@VM1286 WAService.js:2setTimeout (async) setTimeout@VM1286 WAService.js:2(anonymous)@VM1284 asdebug.js:1(anonymous)@VM1284 asdebug.js:1(anonymous)@VM1284 asdebug.js:1_ws.onmessage@VM1284 asdebug.js:1
2022-01-20