mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +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.ceiling && this.deltaY >= 0) {
|
||||||
if (this.direction === 'vertical') {
|
if (this.direction === 'vertical') {
|
||||||
|
this.getStatus(this.ease(this.deltaY));
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
this.getStatus(this.ease(this.deltaY));
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user