iphone6小游戏打开小程序报错
发布于 6 年前 作者 junhe 14902 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现

iphone 6下不行, iphone 7 iphone x正常

  • 复现路径
  • 提供一个最简复现 Demo

wx.navigateToMiniProgram({

        appId: data.target_appid,

        path : data.target_app_path,

        extraData : {},

        success : function() {},

        fail : function(){

wx.showToast({

title: “跳转失败,请联系小程序客服!”,

icon :“none”

})

},

        complete : function(){

}

    });

小游戏后台监控查到的部分报错信息

undefined is not a function (near '...wx.navigateToMiniProgram...');at requestAnimationFrame callback function

wx.navigateToMiniProgram is not a function;at requestAnimationFrame callback function




1 回复

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部