< navigator class = "back-button" target = "miniProgram" open-type = "redirect" app-id = "wx2af60ce4d206e485" path = "" version = "release" bindsuccess = "succrss" bindfail = "fail" bindcomplete = "complete" > < text class = "text" >返回</ text > < text class = "text" >首页</ text > </ navigator > |
open-type="navigate" 不报错,但是用了redirect报错 啥问题啊
目前是仍需要公众号关联的,新的规则请留意社区公告
要么用<navigator open-type="navigate"
要么用普通button 绑定bindtap调用 wx.navigateToMiniProgram
哦哦 恍然大明白 谢谢
navigator跳转其他小程序的open-type需要使用 navigate
redirect 仅仅只有路由跳转功能