模板不使用eslint-pluqin-vue验证stemplate>中的vue-html

在使用vscode开发的时候,出现报错:Expected ‘v-bind:key’ directives to use the viriables which are defined by the ‘v-for’ directive.

如图显示
在这里插入图片描述
因为是安装了ESlint插件,对vue进行了eslint检查,关闭就行了
文件——>首选项——>设置——>vetur.validation.template——>把前面的对勾取消就行了
在这里插入图片描述

Logo

前往低代码交流专区

更多推荐