wx.openSetting回调中打不开?
clickLocationBtn(){ wx.authorize({ scope: 'scope.userLocation' , success() { the.getLocation(); }, fail() { wx.openSetting({ success(res) { console.log(res) }, fail(res) { console.log(res) } }) } }); }, |
2 回复