提交 63ba908c 编写于 作者: W wangyaqi

fix: 修复返回错误windowTop

上级 cea47696
...@@ -92,7 +92,8 @@ const getPageComponents = function (inputDir, pagesJson) { ...@@ -92,7 +92,8 @@ const getPageComponents = function (inputDir, pagesJson) {
} }
let windowTop = 44 let windowTop = 44
if (props.navigationStyle === 'custom' || (props.titleNView && props.titleNView.type === let pageStyle = Object.assign({}, globalStyle, props)
if (pageStyle.navigationStyle === 'custom' || (props.titleNView && props.titleNView.type ===
'transparent')) { 'transparent')) {
windowTop = 0 windowTop = 0
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册