收藏
回答

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 个回答

登录 后发表内容
问题标签