Browse Source

bug fix: goods-list中因为new Swiper时规定了touchMove时要preventDefault,导致safari环境下子元素无法通过touchmove来scroll。

任一存 1 năm trước cách đây
mục cha
commit
2904f48887
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/Tags/goods-list.vue

+ 1 - 1
src/components/Tags/goods-list.vue

@@ -265,7 +265,7 @@ const brandScroll = () => {
         on: {
           touchMove(swiper, e) {
             e.stopPropagation();
-            e.preventDefault();
+            // e.preventDefault();
           },
           slideChange() {
             if (tagclick.value.type) {