ソースを参照

fix:向下拖动问题

sunchengjie 9 ヶ月 前
コミット
80cf2ad84a
1 ファイル変更3 行追加0 行削除
  1. 3 0
      src/pages/new/sureCombine.vue

+ 3 - 0
src/pages/new/sureCombine.vue

@@ -97,6 +97,9 @@ export default {
         };
     },
     mounted() {
+        document.addEventListener('touchmove', function(e) {
+            e.preventDefault();
+        }, { passive: false })
         this.initCanvas();
         // 在组件挂载后,设置默认选中的值  
         this.checkboxGroup = this.goodsList.map(item => item.id);