From adb326c307010154fd16ac12defd5a47a9bc671b Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 28 Jun 2022 19:53:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(movable-view):=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=A7=A6=E6=91=B8=E4=B8=AD=E5=93=8D=E5=BA=94=20disabled=20?= =?UTF-8?q?=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-components/src/vue/movable-view/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/uni-components/src/vue/movable-view/index.tsx b/packages/uni-components/src/vue/movable-view/index.tsx index 5507af33c..389f4eac7 100644 --- a/packages/uni-components/src/vue/movable-view/index.tsx +++ b/packages/uni-components/src/vue/movable-view/index.tsx @@ -233,6 +233,12 @@ function useMovableViewState( watch(ySync, (val) => { _setY(val) }) + watch( + () => props.disabled, + () => { + __handleTouchStart() + } + ) watch( () => props.scaleValue, (val) => { -- GitLab