- createSelectorQuery这个方法 对性能有多大的影响
在一页面多次调用createSelectorQuery这个方法,会不会对页面加载,渲染,造成多大的影响
2019-03-26 - 上线的小程序, 在 iOS 中搜索不到, 在 Android 中可以搜到.
上线的小程序, 在 iOS 中搜索不到, 在 Android 中可以搜到. AppID: wxa0ae8b2efc4773e4
2018-12-17 - 上线版本 真机关于获取地址之后保存到本地 再去获取没有找到
上线版本 真机关于获取地址之后保存到本地 再去获取没有找到 但是在测试环境中可以找到, //,这是获取时的代码 wx.getLocation({ type: 'gcj02', //返回可以用于wx.openLocation的经纬度 success: function(res) { console.log('获取地理位置!'); console.log(res); // _this.setData({ // 'SerchModule.address': res.address.slice(0, res.address.indexOf('省')+1), // }) qqmapsdk.reverseGeocoder({ location: { latitude: res.latitude, longitude: res.longitude }, success: function(res) { console.log(res); _this.setData({ 'SerchModule.address': res.result.ad_info.district || res.result.ad_info.city }) wx.setStorageSync('MyPosition', res); }, fail: res => { //接口调用失败,提示用户打开定位功能 this.wetoast.toast({ title: '获取定位失败,请打开定位,重新进入!' }); wx.getSetting({ success(res) { if (!res.authSetting['scope.userLocation']) { wx.authorize({ scope: 'scope.userLocation', success(res) { console.log(res); // 用户已经同意小程序使用录音功能,后续调用 wx.startRecord 接口不会弹窗询问 // wx.startRecord() } }) } } }) } }) } }) // 这是找本地保存的数据的代码 MyPosition: wx.getStorageSync('MyPosition'),
2018-11-28 - 上线小程序 在ios上找不到
上线的小程序, 在 iOS 中搜索不到, 在 Android 中可以搜到. AppID: wxa0ae8b2efc4773e4
2018-11-27