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 +}