mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] PullRefresh: only triggered when drag vertical direction
This commit is contained in:
parent
0b33cbddb6
commit
7278d90c12
@ -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));
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user