警告:[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
解决:
1.使用npm管理器下载default-passive-events依赖包
npm i default-passive-events -S
2.入口文件main.js引入