VScode使用ESLint语法 报’Variable 'record' is already declared in the upper scope.‘

1,923 阅读1分钟

VScode使用ESLint语法 报’Variable 'record' is already declared in the upper scope.‘ image.png

image.png

解决方案:

.eslintrc.js中修改如下:

rules: { 'vue/no-template-shadow':'off' }