web-view
如题,项目有一个需求,需要在一个web-view内置的方法里调起打开另一个小程序,请问有什么方法吗?
web-view里h5页面可以打开其他小程序吗?Can other applets be opened on the h5 page in web-view?
web-view里h5页面可以打开其他小程序吗?如题,项目有一个需求,需要在一个web-view内置的方法里调起打开另一个小程序,请问有什么方法吗?
Web view as the title, the project has a requirement, you need to open another small program in a web view built-in method, is there any method?
回答:
需要跳回小程序 ,在使用 wx.navigateToMiniprogram 跳转其他小程序
ps:需要用户手动触发bindtap 进入webView 定义可以跳转,第二次就不行了
不支持 跳回小程序使用小程序跳转别的小程序API 参考:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/miniprogram-navigate/wx.navigateToMiniProgram.html