Unable to preventDefault inside passive event listener due to target being treated as passive.
解决方法两种,亲测可行方法一:这种方法的好处是不用管touchmove方法写在哪,直接全局css设置*{touch-action:none|pan-y}方法二:设置touchmove方法增加参数{passive:true},因为touchmove方法可能定义在第三方框架中,不容易修改wnidow.addEventListener('touchmove',func)↓wnidow.addEventL