fix(Tab): swipe invalid (#4715)

This commit is contained in:
nemo-shen 2021-12-31 09:53:35 +08:00 committed by GitHub
parent 819efae7c8
commit 8457af6511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,6 +284,7 @@ VantComponent({
onTouchStart(event: WechatMiniprogram.TouchEvent) {
if (!this.data.swipeable) return;
this.swiping = true;
this.touchStart(event);
},