您的位置: 首页 > IT文章 > 解决移动端弹窗下页面滚动问题 解决移动端弹窗下页面滚动问题 分类: IT文章 • 2024-01-26 21:13:54 document.body.addEventListener('touchmove', fun, {passive: false}) document.body.removeEventListener('touchmove', fun) function fun(e){ e.stopPropagation(); e.preventDefault(); }