wx.openSetting后调用wx.reLaunch没有反应?

发布于 6 年前作者 jing6414671 次浏览最后编辑 6 年前来自 issues
wx.showModal({
 
          title: '是否打开设置页面',
 
          content: '需要获取您的地理位置功能权限,请到小程序设置获取地理位置权限',
 
          success: function (re) {
 
            if (re.confirm) {
 
              wx.openSetting({
 
                success(r) {
 
                    wx.reLaunch({
 
                        url:"../index/index"
 
                    })
 
                }
 
              })
 
            }
 
          }
 
        })

这里的wx.reLaunch为什么不执行

1 回复
ping05
ping051 楼5 年前

没有报错吗?