iphone6机型,camera组件“条形码”无法识别,bindscancode无效

发布于 7 年前作者 shenguiying6930 次浏览最后编辑 7 年前来自 issues

iphone6,iphone6 plus:

<camera device-position=“back” flash=“auto” bindscancode=“camera_event” bindinitdone=“camera_event” mode=“scanCode” style=“height:350rpx;”></camera>

仅ip6无法识别条形码(ip6可以识别二维码,会触发camera_event),其他测试了很多机型均可识别条形码+二维码

之前都是正常,好像是昨天突然就这样了

3 回复
umao
umao1 楼6 年前

请问下 这个问题解决得如何了,我这边也出现完全一样的情况

yancheng
yancheng2 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

suping
suping3 楼5 年前

<camera device-position=“back” flash=“auto” bindscancode=“camera_event”bindinitdone=“camera_event” mode=“scanCode” style=“height:350rpx;”></camera>

这个还需要代码片段?