[Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event.

vue 控制檯提示 [Violation] Added non-passive event listener to a scroll-blocking ‘touchmove’ event. 解決: 1、npm i default-passive-events -S 2、main.js中加入:import 'default-passive-events'
相關文章
相關標籤/搜索