安卓手机 wx 6.7.3 camera.takePhoto无效
安卓手机 wx 6.7.3 camera.takePhoto无效,iphone正常 (安卓昨天还可以,今天不行了)
以下代码 三个回调函数都不执行
<camera device-position="front"
flash="off"
bindstop="cameraBindstop"
binderror="cameraAuthFail"style="width: 100%; height: 300px;"></camera>
const cc = wx.createCameraContext()
cc.takePhoto({
quality: 'high',
success(res) {
console.log('success')
console.log(res)
},
fail(res) {
console.log('takePhoto fail res')
console.log(res)
},
complete(res) {
console.log('takePhoto complete res')
console.log(res)
}
})