提交 80ba08d9 编写于 作者: fxy060608's avatar fxy060608

build uni-app-plus-nvue

上级 e3853192
......@@ -162,7 +162,7 @@ var serviceContext = (function () {
}
return page.$page.meta.isTabBar
}
return __uniRoutes.find(route => route.path === path).meta.isTabBar
return !!__uniRoutes.find(route => route.path.slice(1) === path)
} catch (e) {
if (process.env.NODE_ENV !== 'production') {
console.log('getCurrentPages is not ready');
......@@ -766,6 +766,8 @@ var serviceContext = (function () {
if (!webview) {
webview = createWebview(path, routeOptions);
} else {
webview = plus.webview.getWebviewById(webview.id);
}
if (routeOptions.meta.isTabBar) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册