Home >WeChat Applet >Mini Program Development >Page jump method for WeChat applet development

Page jump method for WeChat applet development

无忌哥哥
无忌哥哥Original
2018-07-18 11:02:382310browse

Page jump navigator page link

navigate 对应 wx.navigateTo 的功能

wx.navigateTo retain the current page, jump to the next page (non-tabBar page)

redirect 对应 wx.redirectTo 的功能

wx.redirectTo close the current page, jump to the specified Page, lose the back key (non-tabBar page)

switchTab 对应 wx.switchTab 的功能

wx.switchTab is the only one that can jump to the tabBar page, that is to say, only wx.switchTab can be used when doing tabBar jump

reLaunch 对应 wx.reLaunch 的功能

wx.reLaunch is to close all pages and jump to non-tabBar pages

navigateBack 对应 wx.navigateBack 的功能

wx.navigateBack Jump to the previous page content

The above is the detailed content of Page jump method for WeChat applet development. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn