情况有三种

  1. 跳转的页面没有在app.json中注册
  2. 跳转的路径不正确
    以上两种在命令行(console)中都会提示
  3. 跳转的页面在TabBar中,需要将open-type属性是设置为switchTab

相关文章: