element-ui遇到得坑一:Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking handler as 'passive' to make the page more

字面大概意思:在滚动阻止的“ mousewheel”事件添加被动事件侦听器。 考虑将处理程序标记为“被动”以使页面更具响应性。chrome 浏览检测机制,给予指定属性冒事性能就更好。没法验证。解决目的:强迫症晚期看不惯 debug 时候有任何的 warning.... 解决方法 ...

Fri Oct 09 19:24:00 CST 2020 0 1585
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM