微信H5页面使用wx-open-launch-app唤起APP报错?
发布于 5 年前 作者 min50 7847 次浏览 来自 问答

jsSDK版本号1.6

代码:

wx.config({
  debug: true,
  appId: that.appid,
  timestamp: that.time,
  nonceStr: that.nums,
  signature: that.signature,
  jsApiList: ['onMenuShareTimeline'],
  openTagList: ['wx-open-launch-app']
})

使用wx.ready进行标签是否可用检测是可用,

wx.ready(function () {
  wx.checkJsApi({
    jsApiList: ['wx-open-launch-app'],
      success: function (res) {
        console.log('可用')
          console.log('config111')
      },
      fail: (err) => {
          console.log(err, '不可用')
      }
  })
})        

报错信息:

点击标签之后的报错信息:

回到顶部