Visual Studio Code里的vue2.0版本写v-for报错 报错提示显示:[vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key’ directives.eslint-plugin-vue 解决方案: 可以试下这个链接的操作:https://www.cnblogs.com/miny-simp/p/9020520.html https://www.jianshu.com/p/4b9fbc41641b 侵权必删。