提交 e48a128a 编写于 作者: X xzs02

fix: 解决 onLaunch 生命周期中调用 tabBar 相关接口失败的问题

build uni-h5 0.0.16
上级 d8aa45de
{
"name": "@dcloudio/uni-h5",
"version": "0.0.15",
"version": "0.0.16",
"description": "uni-app h5",
"main": "dist/index.umd.min.js",
"scripts": {
......
......@@ -9,6 +9,8 @@ function beforeValidate (params) {
if (pages[pages.length - 1].$page.meta.isTabBar) {
isTabBar = true
}
} else if (getApp().$children[0].hasTabBar) {
isTabBar = true
}
if (!isTabBar) {
return 'not TabBar page'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册