From 1c16e5d28803bc397a7a4d892ed057f3173078c2 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Wed, 23 Jun 2021 17:53:58 +0800 Subject: [PATCH] fix(ui/swipe): fix touchable bug affects: @varlet/ui --- packages/varlet-ui/src/swipe/Swipe.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/varlet-ui/src/swipe/Swipe.vue b/packages/varlet-ui/src/swipe/Swipe.vue index 7ff9fd50f27..35e87d3eef4 100644 --- a/packages/varlet-ui/src/swipe/Swipe.vue +++ b/packages/varlet-ui/src/swipe/Swipe.vue @@ -204,7 +204,7 @@ export default defineComponent({ } const handleTouchmove = (event: TouchEvent) => { - if (!touching) { + if (!touching || !props.touchable) { return }