wx.chooseImage在指定只能拍照模式下,在onLoad函数中调用,ios下没有反应?
onLoad(){
wx.chooseImage({
count: 1,
sourceType: ['camera'],
success (res) {
console.log('tempFilePaths==============')
},
fail (err) {
console.log('fail==============', err)
}
}
你好,重新进入页面再试试?