[bugfix] Popup: fix lock scroll (#891)

This commit is contained in:
WyTiny
2018-04-19 15:01:51 +08:00
committed by neverland
parent b206409b8c
commit 24b95af824
2 changed files with 524 additions and 10 deletions

View File

@@ -125,12 +125,15 @@ export default {
}
},
onTouchStart(e) {
this.touchStart(e);
},
onTouchMove(e) {
this.touchMove(e);
const direction = this.deltaY > 0 ? '10' : '01';
const el = scrollUtils.getScrollEventTarget(e.target, this.$el);
const { scrollHeight, offsetHeight, scrollTop } = el;
let status = '11';
/* istanbul ignore next */