一、原生js的监听
addEventListener()与removeEventListener()
参考文章:https://blog.csdn.net/qq_29606781/article/details/67650869、https://www.cnblogs.com/wxcbg/p/10452985.html
二、vue监听:https://www.jianshu.com/p/c579a8093bdb,https://www.cnblogs.com/smalldy/p/10875654.html