From bdeca4e4aa5c0569eed9d191ec76ed8b64ae9034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Tue, 30 Apr 2024 17:30:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E4=BF=AE=E5=A4=8D=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E6=9C=AA=E4=BD=BF=E7=94=A8=E4=B8=8B=E6=8B=89=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=A1=B5=E9=9D=A2=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-h5/src/framework/components/page/pageBody.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/uni-h5/src/framework/components/page/pageBody.tsx b/packages/uni-h5/src/framework/components/page/pageBody.tsx index 8ad7852f64..c7c43b52e3 100644 --- a/packages/uni-h5/src/framework/components/page/pageBody.tsx +++ b/packages/uni-h5/src/framework/components/page/pageBody.tsx @@ -18,7 +18,9 @@ export default defineSystemComponent({ ref(null)) as Ref const _pageRefresh = - !__NODE_JS__ && __UNI_FEATURE_PULL_DOWN_REFRESH__ + !__NODE_JS__ && + __UNI_FEATURE_PULL_DOWN_REFRESH__ && + (pageMeta.enablePullDownRefresh || __X__) ? usePageRefresh(refreshRef) : null const pageRefresh: Ref = ref(null) -- GitLab