mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[bugfix] PullRefresh: only triggered when drag vertical direction
This commit is contained in:
@@ -111,9 +111,9 @@ export default create({
|
||||
|
||||
if (this.ceiling && this.deltaY >= 0) {
|
||||
if (this.direction === 'vertical') {
|
||||
this.getStatus(this.ease(this.deltaY));
|
||||
event.preventDefault();
|
||||
}
|
||||
this.getStatus(this.ease(this.deltaY));
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user