Home > Q&A > body text
怪我咯2017-06-13 09:24:59
//禁止滚动 document.body.addEventListener('touchmove', function (event) { event = event ? event : window.event; if (event.preventDefault) { event.preventDefault() } else { event.returnValue = false } }, false);
迷茫2017-06-13 09:24:59
Just block the default event of touchmove