update:下拉刷新bug修复
This commit is contained in:
@@ -23,7 +23,10 @@ export default {
|
||||
};
|
||||
document.body.ontouchend = function(e) {
|
||||
this.endValue = e.changedTouches[0].pageY;
|
||||
if (this.endValue - this.startValue > 0) {
|
||||
if (
|
||||
this.endValue - this.startValue > 0 &&
|
||||
e.changedTouches[0].pageY === e.changedTouches[0].clientY
|
||||
) {
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user