Explorar o código

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

任一存 hai 1 ano
pai
achega
2904f48887
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {