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