From 51a02f65da94abf244bdf427ae736fcb22bbeb0d Mon Sep 17 00:00:00 2001 From: yandadaFreedom <525966780@qq.com> Date: Fri, 24 May 2024 21:37:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4touchable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/runtime/components/react/getInnerListeners.d.ts | 2 +- .../lib/runtime/components/react/mpx-scroll-view.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webpack-plugin/lib/runtime/components/react/getInnerListeners.d.ts b/packages/webpack-plugin/lib/runtime/components/react/getInnerListeners.d.ts index dceb99afb9..1fddc17ac7 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/getInnerListeners.d.ts +++ b/packages/webpack-plugin/lib/runtime/components/react/getInnerListeners.d.ts @@ -53,7 +53,7 @@ interface UseInnerPropsOptions { removeProps?: string[]; config?: { layoutRef?: React.MutableRefObject; - touchable?: boolean + disableTouch?: boolean }; } diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-scroll-view.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-scroll-view.tsx index 31b5200d23..740ceec1f8 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-scroll-view.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-scroll-view.tsx @@ -381,7 +381,7 @@ const _ScrollView = forwardRef((props: ScrollViewProps = {}, ref: React.Forwarde 'bindscrolltoupper', 'bindscrolltolower', 'bindrefresherrefresh' - ], { layoutRef, touchable: true }); + ], { layoutRef }); const refreshColor = { 'black': ['#000'],