mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Tab): swipe invalid (#4715)
This commit is contained in:
parent
819efae7c8
commit
8457af6511
@ -284,6 +284,7 @@ VantComponent({
|
|||||||
|
|
||||||
onTouchStart(event: WechatMiniprogram.TouchEvent) {
|
onTouchStart(event: WechatMiniprogram.TouchEvent) {
|
||||||
if (!this.data.swipeable) return;
|
if (!this.data.swipeable) return;
|
||||||
|
this.swiping = true;
|
||||||
|
|
||||||
this.touchStart(event);
|
this.touchStart(event);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user