[improvement] Swipe-cell: vertical scrolling in iOS

This commit is contained in:
Roki 2019-07-06 08:54:34 +08:00 committed by rex
parent 35755962ad
commit c45baba8a7

View File

@ -20,7 +20,7 @@ VantComponent({
mixins: [touch], mixins: [touch],
data: { data: {
catchMove: true catchMove: false
}, },
created() { created() {
@ -67,6 +67,7 @@ VantComponent({
} else { } else {
this.swipeMove(0); this.swipeMove(0);
} }
this.set({ catchMove: false });
}, },
startDrag(event: Weapp.TouchEvent) { startDrag(event: Weapp.TouchEvent) {