提交 1e451f00 编写于 作者: Q qiang

fix: refreshOptions.offset

上级 30b12350
<template> <template>
<uni-page :data-page="$route.meta.pagePath"> <uni-page :data-page="$route.meta.pagePath">
<page-head <page-head
v-if="navigationBar.type!=='none'" v-if="navigationBar.type!=='none'"
v-bind="navigationBar" /> v-bind="navigationBar" />
<page-refresh <page-refresh
v-if="enablePullDownRefresh" v-if="enablePullDownRefresh"
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
let offset = upx2px(refreshOptions.offset) let offset = upx2px(refreshOptions.offset)
if (titleNView.type !== 'transparent') { if (titleNView.type !== 'none' && titleNView.type !== 'transparent') {
offset += NAVBAR_HEIGHT + safeAreaInsets.top offset += NAVBAR_HEIGHT + safeAreaInsets.top
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册