比如我要要从index页面跳转到logs.
在跳转的时候应该用switchTab,而不是wx.navigateTo
看api这句话
https://developers.weixin.qq.com/miniprogram/dev/api/ui-navigate.html#wxrelaunchobject
比如我要要从index页面跳转到logs.
在跳转的时候应该用switchTab,而不是wx.navigateTo
看api这句话
https://developers.weixin.qq.com/miniprogram/dev/api/ui-navigate.html#wxrelaunchobject
转载于:https://www.cnblogs.com/antyhouse/p/9340380.html