浏览代码

fix: 解决popup问题

杨凯旋 5 年之前
父节点
当前提交
eec3d570f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 
       if ((this.deltaY > 0 && scrollTop === 0) || (this.deltaY < 0 && scrollTop + offsetHeight >= scrollHeight)) {
-        //event.preventDefault();
+        event.preventDefault();
       }
     },
     getScroller(el) {