Mini Program's navigateTo Jump problem

Mini Program navigateTo jump has a 10-layer limit.

scenario:
Click from the article list to enter the article content page. The article has multiple tags. Clicking the tag will take you to the article list page under the tag, and you can click the article to enter the article content page. In this way, the cycle can easily exceed the 10-layer limit. I know you can jump with redirectTo, but there is no back button, and it is troublesome for users to go back to the list of articles under the tab. How does this scene end with Mini Program?


Don't use the return button that comes with Wechat, write the path of the
page and maintain it yourself.


I remember there is no fallback button, but the code can roll back
navigateBack this you make a fake return

this requirement of the landlord is very similar to Weibo, but Mini Program's customization is much worse than APP. It is recommended to customize the return button. You can also combine Mini Program's storage cache mechanism to jump to the page with parameters, cache the information on the previous page, and clear the cache when returning.

Menu