Browse Source

Table: remove mouse wheel prevent default. (#873)

FuryBean 8 năm trước cách đây
mục cha
commit
971150c2fb
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      packages/table/src/table.vue

+ 0 - 4
packages/table/src/table.vue

@@ -191,10 +191,6 @@
           if (refs.rightFixedBodyWrapper) refs.rightFixedBodyWrapper.scrollTop = this.scrollTop;
         });
 
-        mousewheel(headerWrapper, function(event) {
-          event.preventDefault();
-        });
-
         mousewheel(headerWrapper, throttle(16, function(event) {
           const deltaX = event.deltaX;