收藏
回答

webviewh5页面跳转到skyline,再次跳转skyline页面有routeType无法跳转?

// webview h5页面
wx.miniProgram.navigateTo({
  url: 'xxxx/slyline1?xxx=xxx',
});

// slyline1 页面正常显示 ,跳转skyline2页面
wx.navigateTo({
  url: 'xxxx/slyline2?xxx=xxx',
  routeType: CustomRouteType.HalfScreenDialog,
});

// skyline2 页面保错页面空白

报错内容:

inspectee DOM.enable error: {type: "string", description: "inspectee DOM.enable error:", value: "inspectee DOM.enable error:"} TypeError: this.skylineEngine.getRuntime is not a function. (In 'this.skylineEngine.getRuntime()', 'this.skylineEngine.getRuntime' is undefined) {type: "object", description: "TypeError: this.skylineEngine.getRuntime is not a function. (In 'this.skylineEngine.getRuntime()', 'this.skylineEngine.getRuntime' is undefined)", objectId: "647", className: "TypeError", subtype: "error", preview: {type: "object", description: "TypeError: this.skylineEngine.getRuntime is not a function. (In 'this.skylineEngine.getRuntime()', 'this.skylineEngine.getRuntime' is undefined)", properties: [], overflow: true, subtype: "error"}}

回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    09-14

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    09-14
    有用
    回复
登录 后发表内容