wx.redirectTo关闭当前页面,跳转到另外一个页面

对应的另一个跳转:

wx.navigateTo({}) ,保留当前页面,跳转到应用内的某个页面,

使用 wx.navigateBack 可以返回,有时候我们跳转还需要携带参数

猜你喜欢

转载自www.cnblogs.com/fanqiusha1988/p/12792437.html