关于camera组件scanCode的问题
< view class = 'camera_container1' hidden = '{{!(isScanSelected && !isShrink) || selectTableId == 1 || selectTableId == 2}}' > < camera class = 'camera_class' hidden = '{{!(isScanSelected && !isShrink)}}' mode = "scanCode" flash = "off" binderror = "error" bindscancode = 'scanCode' ></ camera > < text wx:if = '{{selectTableId == 0}}' class = 'camera_prompt_style' >请扫描采购单/预约单/委托书号的条码</ text > < text wx:if = '{{selectTableId == 3}}' class = 'camera_prompt_style' >请扫描采购单号的条码</ text > < view class = 'triangle1' bindtap = 'onTriangleClicked' ></ view > </ view > |
- 当前 Bug 的表现(可附上截图)苹果设备扫码没反应,安卓设备是正常的
- 预期表现
扫码scanCode被回调
- 复现路径
- 提供一个最简复现 Demo
1 回复
提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。