提交 76482c86 编写于 作者: Q qiang

fix: 修复 tabBar 配置不全报错的问题 question/96544

上级 838a9b05
...@@ -124,7 +124,7 @@ function initAppLaunch (appVm) { ...@@ -124,7 +124,7 @@ function initAppLaunch (appVm) {
} }
function initTabBar () { function initTabBar () {
if (!__uniConfig.tabBar || !__uniConfig.tabBar.list.length) { if (!__uniConfig.tabBar || !__uniConfig.tabBar.list || !__uniConfig.tabBar.list.length) {
return return
} }
...@@ -230,4 +230,4 @@ export function registerApp (appVm) { ...@@ -230,4 +230,4 @@ export function registerApp (appVm) {
__uniConfig.ready = true __uniConfig.ready = true
process.env.NODE_ENV !== 'production' && perf('registerApp') process.env.NODE_ENV !== 'production' && perf('registerApp')
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册