mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +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.direction === 'vertical') {
|
||||
this.getStatus(this.ease(this.deltaY));
|
||||
event.preventDefault();
|
||||
event.cancelable && event.preventDefault();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user