<image src="{{value}}" class="picture_img" bindtap="pictureChange"/> pictureChange(){ wx.chooseMedia({ count: 1, mediaType: ['image' ], sourceType: ['album', 'camera'], camera: 'front', success(res) { console.log(res.tempFiles[0].tempFilePath) console.log(res.tempFiles[0].size) } }) },
wx.chooseImage()和wx.chooseMedia()会两次弹出选择照片页面,怎样解决?wx.chooseImage()和wx.chooseMedia()会两次弹出选择照片页面,怎样解决?
2023-05-16