mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-09-06 07:59:45 +08:00
[improvement] Swipe-cell: vertical scrolling in iOS
This commit is contained in:
parent
35755962ad
commit
c45baba8a7
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user