解决警告:Unable to preventDefault inside passive event listener due to target being treated as passive.
注:1.滑动或多次点击时警告[Intervention]UnabletopreventDefaultinsidepassiveeventlistenerduetotargetbeingtreatedaspassive.一、解决方法一在touch的事件监听方法上绑定第三个参数{passive:false},通过传递passive为false来明确告诉浏览器:事件处理程序调用preventDefaul