mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
[bugfix] PullRefresh: preventDefault warning (#1819)
This commit is contained in:
@@ -116,7 +116,7 @@ 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));
|
this.getStatus(this.ease(this.deltaY));
|
||||||
event.preventDefault();
|
event.cancelable && event.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user