瀏覽代碼

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

任一存 1 年之前
父節點
當前提交
2904f48887
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {