转自:https://blog.csdn.net/weixin_42425970/article/details/102870549 问题产生原因是因为 xxx 定义了,但并未使用到,若要忽略该提示,需创建 “ .eslintrc.js” 文件,之后加入如下内容:
{
rules:{
'no-unused-vars' : 'off'
}
}
记录学习和工作
转自:https://blog.csdn.net/weixin_42425970/article/details/102870549 问题产生原因是因为 xxx 定义了,但并未使用到,若要忽略该提示,需创建 “ .eslintrc.js” 文件,之后加入如下内容:
{
rules:{
'no-unused-vars' : 'off'
}
}
评论 (0)