- 地图定位授权拒绝后再次授权android机点击不了 opensetting
这是代码片段 wechatide://minicode/RzYf0amA7C2Q 小程序 [图片] chooseLocation: function (e) { let that = this wx.getLocation({ type: 'gcj02', success: function (res) { wx.chooseLocation({ success: function ($res) { that.LBS($res, that) } }) }, fail: function () { myDialog.showModal({ title: "提示", content: "您未授权,将无法操作后续的功能,点击确定获取授权", confirmOpenType: "openSetting", success: (e) => { if (e.detail.authSetting['scope.userLocation']) wx.chooseLocation({ success: function ($res) { that.LBS($res, that) } }) else wx.getLocation({ type: 'gcj02', success: function (res) { wx.chooseLocation({ success: function ($res) { that.LBS($res, that) } }) } }) } }) }, complete: function () { } }) },
2018-09-04 - bindopensetting 真机预览点击不了,ide可以点击
bindopensetting 真机预览点击不了,ide可以点击 android 华为机麦芒 5 <button wx:elif="{{item.openType == 'openSetting'}}" class="modal-btn modal-btn-default {{item.className}}" data-index="{{index}}" type="{{item.type}}" open-type="openSetting" bindopensetting="{{getOpenSetting}}">{{item.text}}button>
2018-07-02