非键盘弹起场景下 没有任何问题
wx.chooseImage() 拍照/相册底部空漏?场景 选择图片上传, 拍照/相册底部空漏 1.点击input => 2.键盘弹起 => 3.点击上传图片按钮调用 wx.chooseImage() => 4.键盘自动收回并弹出拍照/相册选择 拍照/相册底部空漏的 bug 照片 [图片] 机型/系统/微信版本 手机: redmi note5, 安卓: 9, 微信版本: 8.0.19 原始代码 chooseImage() { this.$emit('opLoading', true) wx.chooseImage({ count: 1, sizeType: ['original', 'compressed'], sourceType: ['album', 'camera'], success: res => { }, fail: err => { } }) },
2022-03-09小白,几千米的误差真么办 getLocation: function(e) { console.log(e) var that = this var newlocation wx.getLocation({ success: function(res) { type: 'gcj02' altitude: true isHighAccuracy: true console.log(res) const { longitude, latitude, speed, accuracy } = res newlocation = { ...that.data.location, longitude: longitude, latitude: latitude, speed: speed, accuracy: accuracy } console.log('11111', newlocation) that.setData({ hasLocation: true, location: newlocation }) demo.reverseGeocoder({ success: function(res) { console.log(res.result); const { address, adcode, ad_info } = res.result newlocation = { ...newlocation, address: address, adcode: ad_info.adcode, city_code: ad_info.city_code } that.setData({ hasLocation: true, location: newlocation }) }, fail: function(res) { console.log(res); } }) } }) },
小程序wx.getLocation 误差?小程序wx.getLocation type gcj02 isHighAccuracy true 用真机调试 误差20米左右 还有其他的操作弥补误差么?
2020-04-20