Vue报错: [vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key‘ directives.

问题

VUE报错:

[vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key’ directives.eslint-plugin-vue

Peek Problem (Alt+F8)No quick fixes available

Vue报错: [vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key‘ directives._第1张图片


解决

1:文件—首选项—设置—搜索: vetur.validation.template—将对钩去掉
2:问题解决

Vue报错: [vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key‘ directives._第2张图片


你可能感兴趣的:(▶前端,#,【Vue】,vue,vetur,前端,报错)