x***@163.com
x***@163.com
  • 发布:2020-02-19 21:40
  • 更新:2020-02-19 21:40
  • 阅读:838

关于 tabBar 跳转问题

分类:uni-app

我有一个登录页面, 底部是没有导航,然后点击后想跳转到用户中心, 用户中心是底部有导航的,比如像这样

"tabBar": {
"list": [{
"pagePath": "pages/user/tabBar/index",
"text": "首页"
}, {
"pagePath": "pages/user/tabBar/workorder",
"text": "工单"
},
{
"pagePath": "pages/user/tabBar/info",
"text": "资料"
}, {
"pagePath": "pages/user/tabBar/report",
"text": "报表"
}
]
}

我发现我登录页面跳转pages/user/tabBar/index时候出现 : [system] redirectTo:fail can not redirectTo a tabbar page 错误, 拿我该如何跳转呢?

2020-02-19 21:40 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复