<navigator> jump invalid problem

 

Click to go to the list page and find that there is no response, and check in app.json, and find that the path is not wrong. At the same time, the code in home.wxml is no problem. Adding open-type="switchTab" can jump, but after the jump, there is no small return arrow displayed, so although it can jump, it is not very accurate. Finally, after repeated verification, it is finally concluded that:

 The reason is: the page I jump to uses tabBar and configures the list attribute, which leads to the problem of not being able to jump.

Solution: You can change to a page without tabBar to jump, or use open-type="switchTab", but it is not very accurate and there is no small arrow.

 

 

 

 

Guess you like

Origin blog.csdn.net/m0_50013284/article/details/126165581