如果第三方js引入的时候他有校验可以加上注解 /* eslint-disable / 这样当前第三方js就不会被校验了* 参考https://www.cnblogs.com/webSong/p/9679437.html