From d3819768c26af940f25e8e6c746558ce710db0af Mon Sep 17 00:00:00 2001 From: guoapeng Date: Wed, 16 Jul 2025 14:17:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=89=E5=8C=BA=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=92=8C=E7=82=AB=E9=85=B7=E7=9A=84=E6=93=8D=E4=BD=9C=E4=BA=92?= =?UTF-8?q?=E4=B8=8D=E5=BD=B1=E5=93=8D=E7=BB=88=E6=9E=81=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/martixCraft/Edit/index.vue | 16 ++++++++++++++- src/components/spray/sprayParams/index.vue | 19 ++++++++++++++++-- src/components/spray/trayGraph/index.vue | 32 +++++++++++++++++++----------- 3 files changed, 52 insertions(+), 15 deletions(-) diff --git a/src/components/martixCraft/Edit/index.vue b/src/components/martixCraft/Edit/index.vue index 41f625c..8847ef8 100644 --- a/src/components/martixCraft/Edit/index.vue +++ b/src/components/martixCraft/Edit/index.vue @@ -167,6 +167,20 @@ const onSwiperInitialized = (swiper: any) => { const tabChangeHandle = () => { swiperInstance?.slideTo(activeTab.value) } + +const touchstartHandle = () => { + swiperInstance.allowTouchMove = false +} + +const touchmoveHandle = () => { + swiperInstance.allowTouchMove = false + setTimeout(() => { + swiperInstance.allowTouchMove = true + }, 100) +} +const touchendHandle = () => { + swiperInstance.allowTouchMove = true +}