在小程序内用web-view跳转外部H5页面。然后在这个H5页面进行操作后再次跳转到了另外一个外部H5页面。最后需要在第二个外部H5跳回小程序。怎么弄呢?
外部页面跳转?External page jump?
外部页面跳转?在小程序内用web-view跳转外部H5页面。然后在这个H5页面进行操作后再次跳转到了另外一个外部H5页面。最后需要在第二个外部H5跳回小程序。怎么弄呢?
Jump to the external H5 page with web view in the applet. After the operation on this H5 page, it will jump to another external H5 page again. Finally, you need to jump back to the applet in the second external H5. How?
回答:
第二个h5中使用wx.miniProgram.navigateTo
如果外部h5都是自己的,那就自己加代码返回小程序,如果是别人的,没办法。
原文出处:外部页面跳转?
第二个外部页面wx.miniProgram.navigateTo
如果跳回的是tabBar的页面的话就用
出错的话打印下错误日志排查错误