navigator 跳转其他小程序报错?

发布于 8 年前作者 ayi13825 次浏览最后编辑 8 年前来自 issues
<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报错 啥问题啊

4 回复
hegang
hegang1 楼6 年前

哦哦 恍然大明白 谢谢

yang27
yang272 楼6 年前

navigator跳转其他小程序的open-type需要使用 navigate

laiwei
laiwei3 楼6 年前

要么用<navigator open-type=“navigate”

要么用普通button 绑定bindtap调用 wx.navigateToMiniProgram

weixia
weixia4 楼6 年前

redirect 仅仅只有路由跳转功能