-1

用touchslide插件做了个轮播,发现无法响应点击时间?

浏览器提示

TouchSlide.1.1.js:14 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/...

TouchSlide.1.1.js:14 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/...
Y @ TouchSlide.1.1.js:14

撰写答案