1, wx.navigateTo
retain the current page, jump to a page within the application, using wx.navigateBack to return to the original page.
2, wx.redirectTo
close the current page, jump to a page within the application.
3, wx.switchTab
jump to tabBar page, and close all other non tabBar page
4, wx.navigateBack
close the current page, previous page or multilevel page. By [
5, wx.reLaunch
close all pages, open to a page within the application.
retain the current page, jump to a page within the application, using wx.navigateBack to return to the original page.
2, wx.redirectTo
close the current page, jump to a page within the application.
3, wx.switchTab
jump to tabBar page, and close all other non tabBar page
4, wx.navigateBack
close the current page, previous page or multilevel page. By [
getCurrentPages()
] to get the current stack of pages, the decision needs to return several layers.
5, wx.reLaunch
close all pages, open to a page within the application.