Home  >  Article  >  WeChat Applet  >  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?

angryTom
angryTomOriginal
2020-03-21 14:44:566453browse

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!

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