摘要: 方法一:忽略 no-undef 检查 在需要忽略的文档头部加注释 /* eslint-disable no-undef */ ... 方法二:配置 ESLint配置文件 配置 .eslintrc.js module.exports = { ... globals: { "TCPlayer": tru 阅读全文
posted @ 2022-06-02 15:15 Better-HTQ 阅读(417) 评论(0) 推荐(0)