手机app端 移动端 禁用页面滚动的方法
禁止滚动document.body.addEventListener('touchmove', this.handler, {passive: false});document.body.addEventListener('wheel', this.handler, {passive: false});移除禁止滚动document.body.removeEventListener('...
原创
2019-05-22 16:01:46 ·
1096 阅读 ·
0 评论