Browse Source

fix: 解决popup问题

杨凯旋 5 years ago
parent
commit
eec3d570f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/popup/popup.vue

+ 1 - 1
src/packages/popup/popup.vue

@@ -162,7 +162,7 @@ export default {
       const { scrollHeight, offsetHeight, scrollTop } = el ? el : this.$el;
       const { scrollHeight, offsetHeight, scrollTop } = el ? el : this.$el;
 
 
       if ((this.deltaY > 0 && scrollTop === 0) || (this.deltaY < 0 && scrollTop + offsetHeight >= scrollHeight)) {
       if ((this.deltaY > 0 && scrollTop === 0) || (this.deltaY < 0 && scrollTop + offsetHeight >= scrollHeight)) {
-        //event.preventDefault();
+        event.preventDefault();
       }
       }
     },
     },
     getScroller(el) {
     getScroller(el) {