提交 27aa1983 编写于 作者: Q qiang

fix: 解决 Safari 浏览器报错的问题

上级 fd1ca3e0
......@@ -21,7 +21,7 @@ export default function getWindowOffset () {
}
const app = getApp()
if (app) {
bottom = app.$children[0].showTabBar ? TABBAR_HEIGHT : 0
bottom = app.$children[0] && app.$children[0].showTabBar ? TABBAR_HEIGHT : 0
}
return {
top,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册