提交 96df6739 编写于 作者: fxy060608's avatar fxy060608

fix(cli): condition

上级 d66249e0
......@@ -24,7 +24,7 @@ function getTabBarPages (appJson) {
}
function isTabBarPage (pathName, tabBarPages) {
return tabBarPages.find(item => item.pagePath === pathName)
return tabBarPages && tabBarPages.find(item => item.pagePath === pathName)
}
function parseEntryPagePath (appJson, manifestJson) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册