提交 44a8d8c0 编写于 作者: 雪洛's avatar 雪洛

fix: 修复获取windowTop不正确的BUG

上级 b85205d8
......@@ -93,9 +93,9 @@ const getPageComponents = function (inputDir, pagesJson) {
let windowTop = 44
let pageStyle = Object.assign({}, globalStyle, props)
if (pageStyle.navigationStyle === 'custom' || (props.titleNView && props.titleNView.type ===
'transparent')) {
windowTop = 0
if (pageStyle.navigationStyle === 'custom' || !pageStyle.titleNView || pageStyle.titleNView.type ===
'transparent' || pageStyle.titleNView.type === 'float') {
windowTop = 0
}
// 删除 app-plus 平台配置
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册