Home >WeChat Applet >Mini Program Development >What is the reason why the mini program prompts that the jump fails?
What is the reason why the mini program prompts that the jump fails?
1. The first common reason
Forgot to log in to the app Register in the pages option in the .json file
2. The second common reason
Wrong jump path
3. The third reason
If the jump path has been registered in the TabBar option in the app.json file, the jump method needs to use the wx.switchTab method to jump
Note: The first two reasons are easier to find, because in the console There will be corresponding prompts. The third type of console will not report errors and is more difficult to find.
For more small program development tutorials, please pay attention to the PHP Chinese website!
The above is the detailed content of What is the reason why the mini program prompts that the jump fails?. For more information, please follow other related articles on the PHP Chinese website!