提交 97ccfab9 编写于 作者: fxy060608's avatar fxy060608

fix(h5): fullPath

上级 36360a8e
......@@ -89,7 +89,7 @@ function initPublicPage(route: RouteLocationNormalizedLoaded) {
return initPageInternalInstance('navigateTo', __uniRoutes[0].path, {}, meta)
}
let fullPath = route.fullPath
if (route.meta.isEntry) {
if (route.meta.isEntry && fullPath.indexOf(route.meta.route) === -1) {
fullPath = '/' + route.meta.route + fullPath.replace('/', '')
}
return initPageInternalInstance('navigateTo', fullPath, {}, meta)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册